diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-29 13:59:06 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-30 01:32:26 +0200 |
commit | 4fbcde43e3122914334d706ea9d4d30151a1368d (patch) | |
tree | bf6ccadc74abe9130fe18c6dcfebf4e3dbd8ea4c /railties | |
parent | af8852d1ad904b6b8925dd2ac7d6cece11f7bbba (diff) | |
download | rails-4fbcde43e3122914334d706ea9d4d30151a1368d.tar.gz rails-4fbcde43e3122914334d706ea9d4d30151a1368d.tar.bz2 rails-4fbcde43e3122914334d706ea9d4d30151a1368d.zip |
Ruby 1.9: use ruby-debug19. [#3949 state:resolved]
Diffstat (limited to 'railties')
-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 06e23db5f1..9e3423d189 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-debug' + require_library_or_gem(RUBY_VERSION < '1.9' ? 'ruby-debug' : 'ruby-debug19') ::Debugger.start ::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings) puts "=> Debugger enabled" |