diff options
author | wycats <wycats@gmail.com> | 2010-03-29 14:07:12 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-30 01:32:26 +0200 |
commit | b94c4080e5ba738b76b44d954bd8b13ff13e8688 (patch) | |
tree | 002b9027984affeeb5666066afaa7c9404fc769a /railties/lib/rails/rack | |
parent | 4fbcde43e3122914334d706ea9d4d30151a1368d (diff) | |
download | rails-b94c4080e5ba738b76b44d954bd8b13ff13e8688.tar.gz rails-b94c4080e5ba738b76b44d954bd8b13ff13e8688.tar.bz2 rails-b94c4080e5ba738b76b44d954bd8b13ff13e8688.zip |
Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"
This wasn't the issue here; we need to beef up the docs and speak to
Wayne and Mark about installation.
This reverts commit da238dafd7c242eb75ae37e6243b61baf763e3d0.
Diffstat (limited to 'railties/lib/rails/rack')
-rw-r--r-- | railties/lib/rails/rack/debugger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/rack/debugger.rb b/railties/lib/rails/rack/debugger.rb index 9e3423d189..06e23db5f1 100644 --- a/railties/lib/rails/rack/debugger.rb +++ b/railties/lib/rails/rack/debugger.rb @@ -8,7 +8,7 @@ module Rails ARGV.clear # clear ARGV so that rails server options aren't passed to IRB - require_library_or_gem(RUBY_VERSION < '1.9' ? 'ruby-debug' : 'ruby-debug19') + require_library_or_gem 'ruby-debug' ::Debugger.start ::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings) puts "=> Debugger enabled" |