我刚刚更新到Ruby 1.9.3p0和Rails 3.1.1.现在,当我try 启动服务器时,它抱怨我应该安装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
我的档案里有
# 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运行调试吗?