begin

require 'rubocop/rake_task'
RuboCop::RakeTask.new

rescue LoadError

puts 'Unable to load RuboCop.'

end