mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Start in irb mode if possible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
70ac560e42
commit
1162c29e30
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def start_debugger
|
|||
begin
|
||||
require_library_or_gem 'ruby-debug'
|
||||
Debugger.start
|
||||
# Debugger.settings[:autoirb] = true
|
||||
Debugger.settings[:autoirb] = true if Debugger.respond_to?(:settings)
|
||||
puts "=> Debugger enabled"
|
||||
rescue Exception
|
||||
puts "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
|
||||
|
|
Loading…
Reference in a new issue