mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Ruby 1.9: use ruby-debug19. [#3949 state:resolved]
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user