aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack
diff options
context:
space:
mode:
authorHrvoje Šimić <shime.ferovac@gmail.com>2013-05-13 12:14:47 +0200
committerHrvoje Šimić <shime.ferovac@gmail.com>2013-05-13 12:14:47 +0200
commit886f439cb58e96bc0249a7146a0a490849608091 (patch)
tree9154d66a502fa90880129b198d50c9837793e794 /railties/lib/rails/rack
parentb44f086cf10532ca65d192047f713ffbd1cdcbdb (diff)
downloadrails-886f439cb58e96bc0249a7146a0a490849608091.tar.gz
rails-886f439cb58e96bc0249a7146a0a490849608091.tar.bz2
rails-886f439cb58e96bc0249a7146a0a490849608091.zip
exit with non-zero to signal failure
Diffstat (limited to 'railties/lib/rails/rack')
-rw-r--r--railties/lib/rails/rack/debugger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/rack/debugger.rb b/railties/lib/rails/rack/debugger.rb
index 902361ce77..f7b77bcb3b 100644
--- a/railties/lib/rails/rack/debugger.rb
+++ b/railties/lib/rails/rack/debugger.rb
@@ -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)