Ruby on rails 无法启动rails调试器(在ruby 1.9.3中使用rails 3.1.3)

Ruby on rails 无法启动rails调试器(在ruby 1.9.3中使用rails 3.1.3),ruby-on-rails,ruby-on-rails-3,debugging,Ruby On Rails,Ruby On Rails 3,Debugging,在全新的测试rails应用程序中,我输入: $ sudo gem install ruby-debug19 $ bundle install # and add the following line to my Gemfile gem 'ruby-debug19', "~> 0.11.6" $ rails server --debugger 我收到以下错误 You need to install ruby-debug to run the server in debugging mode

在全新的测试rails应用程序中,我输入:

$ sudo gem install ruby-debug19
$ bundle install
# and add the following line to my Gemfile
gem 'ruby-debug19', "~> 0.11.6"
$ rails server --debugger
我收到以下错误

You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
我试过十几种变体。我遗漏了什么???

试试这个(请参阅):

如果不起作用,请返回ruby 1.9.2并重试

gem'ruby-debug19',:require=>“ruby-debug”


再次运行bundle安装。根据您的示例,您在运行bundle安装后更改了GEM文件。谢谢。就我而言,这只是拙劣的编辑。可悲的是,我做了捆绑安装后。。。我认为调试器与ruby 1.9.3不兼容。
  gem 'ruby-debug19', :require => false
  gem 'ruby-debug-base19', :git => 'https://github.com/tribune/ruby-debug-base19.git', :require => false
  gem 'linecache19', :git => 'git@github.com:chuckg/linecache19.git', :branch => "0_5_13/dependencies", :require => false