0

以下是错误日志,

$ jruby -S gem install ruby-debug-ide -v '0.4.16'
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

"c:/Program Files/jruby-1.6.6/bin/jruby.exe" mkrf_conf.rb

""c:/Program Files/jruby-1.6.6/bin/jruby.exe"" -rubygems c:/Program Files/jruby-1.6.6/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake RUBYARCHDIR="c:/Program Files/jruby-1.6.6/lib/ruby/
gems/1.8/gems/ruby-debug-ide-0.4.16/lib" RUBYLIBDIR="c:/Program Files/jruby-1.6.6/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16/lib"
'""c:' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in c:/Program Files/jruby-1.6.6/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16 for inspection.
Results logged to c:/Program Files/jruby-1.6.6/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.16/ext/gem_make.out

编辑:刚刚在rails 3(而不是JRuby)上尝试了相同的ruby,我得到了同样的错误。

4

1 回答 1

1
-rubygems c:/Program Files/jruby-1.6.6/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake

我认为你错过了那里的引号......这就是你得到你得到的错误的原因。

于 2013-09-27T15:09:18.527 回答