【问题标题】:can't get ruby-debug on windows无法在 Windows 上获得 ruby​​-debug
【发布时间】:2010-10-03 23:08:54
【问题描述】:

无法为 rails 3.0 启用 ruby​​-debug

1) 当我执行“gem list ruby​​-debug”时,我得到: $ gem list ruby​​-debug

* 本地宝石 *

ruby 调试 (0.10.3) ruby-debug-base (0.10.3 mswin32) ruby-debug-ide (0.4.5)

2) 当我运行“rails server --debugger”时,我得到: c:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/resolver.rb:132:in resolve': Could not find gem 'ruby-debug-base (~> 0.10.3.0)', required by 'ruby- debug', in any of the sources (Bundler::VersionConflict) from c:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.2/lib/bundler/resolve r.rb:130:incatch'

似乎矛盾...列表上说我有 0.10.3...

谢谢...

【问题讨论】:

  • 不确定您的意思。 irb 可以工作,但是如果我在 irb 中尝试调试器方法,它会失败。

标签: ruby-on-rails ruby windows


【解决方案1】:

您是否从应用根目录运行bundle install

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-06-19
    • 2011-02-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多