2010-10-30 39 views
2

遇到问题Win7上-64/Ruby1.9.2p0获得叉勺运行:spork on Win7-x64/ruby​​1.9.2p0?

gem install spork 

    ERROR: Error installing spork: 
ERROR: Failed to build gem native extension. 

C:/Ruby192/bin/ruby.exe mkrf_conf.rb 
Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system 

rake RUBYARCHDIR=C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib RUBYLIBDIR=C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-0.8.4/lib 
C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path': can't find executable rake for rake-0.8.7 (Gem::Exception) 
from C:/Ruby192/bin/rake:19:in `<main>' 


Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-0.8.4 for inspection. 
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-0.8.4/ext/gem_make.out 

我没有问题,建立任何其他原生扩展(我使用RubyInstaller中的devkit安装程序 - 尝试的devkit的两个版本,顺便说一句)。

我试过了milhouse-spork gem,但它有其他问题(缺少msvcrt-ruby18.dll等)。

任何人都有关于如何让spork在我的windoze包装盒上运行的建议?上世纪30年代轨启动的rspec的是杀害我:-(

+0

是耙宝石已经安装并正在运行?无法从消息中知道,如果gem无法识别二进制文件的目录,或者如果EXE不存在... – ewall 2010-10-30 15:04:35

+0

我可以在您的文章后成功安装spork。是否需要恢复rake .gemspec文件安装spork后? – 2011-01-16 15:18:01

回答

2

我发现,安装修复在此之前取出rake.gemspec文件 - 在JetBrains公司感谢我的朋友指出此修复程序