捆绑更新出错

时间:2014-08-20 05:41:24

标签: ruby-on-rails

我在Windows 8 64位上运行时 捆绑更新,我有这个错误:

我是Ruby 2.0.0,我重新安装了RubyDevKit

C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:519:in `try_link0'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:534:in `try_link'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:720:in `try_func'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:950:in `block in have_library'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:895:in `block in checking_for'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:340:in `block (2 levels) in postpone'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:310:in `open'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:340:in `block in postpone'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:310:in `open'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:336:in `postpone'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:894:in `checking_for'
        from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:945:in `have_library'
        from extconf.rb:5:in `block in check_libs'
        from extconf.rb:5:in `each'
        from extconf.rb:5:in `all?'
        from extconf.rb:5:in `check_libs'
        from extconf.rb:39:in `manual_ssl_config'
        from extconf.rb:61:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3 for inspection.
Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/extensions/x64-mingw32/2.0.0/eventmachine-1.0.3/gem_make.out
An error occurred while installing eventmachine (1.0.3), and Bundler cannot
continue.
Make sure that `gem install eventmachine -v '1.0.3'` succeeds before bundling.

有人知道它是什么吗?

1 个答案:

答案 0 :(得分:0)

您需要安装gem&#39; eventmachine&#39;在你的系统上。执行此操作的命令位于错误中:

gem install eventmachine -v '1.0.3'

这可能会引发其他错误;你必须阅读每一本并尝试解决它。​​