我刚刚更新到Ruby 1.9.3p0和Rails 3.1.1。现在,当我尝试启动服务器时,它抱怨我应该安装ruby-debug
,即使它已经安装了。
% rails server --environment=development --debug
=> Booting WEBrick
=> Rails 3.1.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
在我的Gemfile中,我有
# see: http://stackoverflow.com/questions/1083451/debugging-in-ruby-1-9
gem 'ruby-debug-base19', "0.11.24"
gem 'ruby-debug19', "0.11.6"
是否可以使用最新版本的Ruby运行调试?