相关疑难解决方法(0)

使用Ruby 1.9.3进行ruby-debug?

我刚刚更新到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
Run Code Online (Sandbox Code Playgroud)

在我的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"
Run Code Online (Sandbox Code Playgroud)

是否可以使用最新版本的Ruby运行调试?

ruby ruby-on-rails ruby-debug ruby-1.9.3

70
推荐指数
3
解决办法
4万
查看次数

标签 统计

ruby ×1

ruby-1.9.3 ×1

ruby-debug ×1

ruby-on-rails ×1