Permalink
Browse files

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

  • Loading branch information...
1 parent af8852d commit 4fbcde43e3122914334d706ea9d4d30151a1368d @jeremy jeremy committed with josevalim Mar 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 4fbcde4

Please sign in to comment.