Skip to content

Commit

Permalink
Ruby 1.9: use ruby-debug19. [#3949 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Mar 29, 2010
1 parent 74efe4c commit da238da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/rack/debugger.rb
Expand Up @@ -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"
Expand Down

0 comments on commit da238da

Please sign in to comment.