Commit 3fe8b500 authored by Eloy Durán's avatar Eloy Durán

[rake] Fix catching errors in Rakefile before bootstrapping.

parent df38fc12
...@@ -275,7 +275,7 @@ begin ...@@ -275,7 +275,7 @@ begin
RuboCop::RakeTask.new RuboCop::RakeTask.new
end end
rescue LoadError rescue LoadError, NameError => e
$stderr.puts "\033[0;31m" \ $stderr.puts "\033[0;31m" \
'[!] Some Rake tasks haven been disabled because the environment' \ '[!] Some Rake tasks haven been disabled because the environment' \
' couldn’t be loaded. Be sure to run `rake bootstrap` first.' \ ' couldn’t be loaded. Be sure to run `rake bootstrap` first.' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment