【问题标题】:I can't install ruby-debug-base19 -v '0.11.25 on Windows 7我无法在 Windows 7 上安装 ruby​​-debug-base19 -v '0.11.25
【发布时间】:2012-08-06 16:49:19
【问题描述】:

我正在尝试在 Windows 7 上安装 Rails。

安装时出现此错误:

make
generating ruby_debug-i386-mingw32.def
compiling breakpoint.c
compiling ruby_debug.c
ruby_debug.c:29:19: error: conflicting types for 'rb_iseq_compile_with_option'
C:/Ruby193/include/ruby-1.9.1/ruby-1.9.3-p194/vm_core.h:505:7: note: previous declaration of 'rb_iseq_compile_with_option' was here
ruby_debug.c: In function 'context_jump':
ruby_debug.c:2414:53: warning: comparison between signed and unsigned integer expressions
ruby_debug.c:2428:27: warning: comparison between signed and unsigned integer expressions
make: *** [ruby_debug.o] Error 1


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25/ext/ruby_debug/gem_make.out
An error occured while installing ruby-debug-base19 (0.11.25), and Bundler cannot continue.
Make sure that `gem install ruby-debug-base19 -v '0.11.25'` succeeds before bundling.

我在“Installing ruby-debug-base19 on Windows in Ruby 1.9.3”之后安装了 ruby​​-debug-base19 -v '0.11.26

【问题讨论】:

  • 您是否尝试过安装最新版本(0.11.25)?
  • @LuisLavena 我遇到了同样的错误

标签: ruby-on-rails ruby ruby-on-rails-3 ruby-1.9.3 ruby-debug


【解决方案1】:

只需在 gemfile 中注释掉即可

#  gem 'ruby-debug19', :require => 'ruby-debug'

如果你喜欢Link to better_errors,你可以尝试better_errors进行调试

【讨论】:

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