Commit d595fabe authored by Eloy Durán's avatar Eloy Durán

[rake] Do not scare user when running `rake bootstrap`.

parent 7d7624a8
...@@ -263,11 +263,13 @@ begin ...@@ -263,11 +263,13 @@ begin
rescue LoadError, NameError => e 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 or use the ' \
"\e[0m" "VERBOSE environment variable to see errors.\e[0m"
$stderr.puts e.message if ENV['VERBOSE']
$stderr.puts e.backtrace $stderr.puts e.message
$stderr.puts $stderr.puts e.backtrace
$stderr.puts
end
end end
# Helpers # Helpers
......
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