diff options
author | Aditya Sanghi <asanghi@me.com> | 2012-04-17 15:31:05 +0530 |
---|---|---|
committer | Aditya Sanghi <asanghi@me.com> | 2012-04-17 15:31:05 +0530 |
commit | 0232543e0d885902b5b3ea9c4cf0638d76583a35 (patch) | |
tree | 46bcdf05e0fb2fc28fcb8492519d25311e13c76b /railties/lib/rails/rack | |
parent | 3df776c9ad5c1ff3e97d31b4933010b78e0a3f6e (diff) | |
download | rails-0232543e0d885902b5b3ea9c4cf0638d76583a35.tar.gz rails-0232543e0d885902b5b3ea9c4cf0638d76583a35.tar.bz2 rails-0232543e0d885902b5b3ea9c4cf0638d76583a35.zip |
stamp out ruby-debug19 with extreme prejudice :)
Diffstat (limited to 'railties/lib/rails/rack')
-rw-r--r-- | railties/lib/rails/rack/debugger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/rack/debugger.rb b/railties/lib/rails/rack/debugger.rb index 5a78da1731..2ee05a6d51 100644 --- a/railties/lib/rails/rack/debugger.rb +++ b/railties/lib/rails/rack/debugger.rb @@ -6,13 +6,13 @@ module Rails ARGV.clear # clear ARGV so that rails server options aren't passed to IRB - require 'ruby-debug' + require 'debugger' ::Debugger.start ::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings) puts "=> Debugger enabled" rescue LoadError - puts "You need to install ruby-debug19 to run the server in debugging mode. With gems, use 'gem install ruby-debug19'" + puts "You need to install debugger to run the server in debugging mode. With gems, use 'gem install debugger'" exit end |