summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index f6d23b1908..b80dd9a846 100644
--- a/Rakefile
+++ b/Rakefile
@@ -52,7 +52,7 @@ begin
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]
end
-rescue
+rescue LoadError
puts "chefstyle/rubocop is not available. gem install chefstyle to do style checking."
end