Skip to content
Browse files

Ruby 1.9: use ruby-debug19. [#3949 state:resolved]

  • Loading branch information...
1 parent 74efe4c commit da238dafd7c242eb75ae37e6243b61baf763e3d0 @jeremy jeremy committed Mar 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/rack/debugger.rb
View
2 railties/lib/rails/rack/debugger.rb
@@ -8,7 +8,7 @@ def initialize(app)
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"

0 comments on commit da238da

Please sign in to comment.
Something went wrong with that request. Please try again.