mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
exit with non-zero to signal failure
This commit is contained in:
parent
b44f086cf1
commit
886f439cb5
2 changed files with 4 additions and 4 deletions
|
@ -94,8 +94,8 @@ module Rails
|
|||
require 'debugger'
|
||||
puts "=> Debugger enabled"
|
||||
rescue LoadError
|
||||
puts "You're missing the 'debugger' gem. Add it to your Gemfile, bundle, and try again."
|
||||
exit
|
||||
puts "You're missing the 'debugger' gem. Add it to your Gemfile, bundle it and try again."
|
||||
exit(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,8 +12,8 @@ module Rails
|
|||
::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
|
||||
puts "=> Debugger enabled"
|
||||
rescue LoadError
|
||||
puts "You're missing the 'debugger' gem. Add it to your Gemfile, bundle, and try again."
|
||||
exit
|
||||
puts "You're missing the 'debugger' gem. Add it to your Gemfile, bundle it and try again."
|
||||
exit(1)
|
||||
end
|
||||
|
||||
def call(env)
|
||||
|
|
Loading…
Reference in a new issue