在 Win7-x64/Ruby1.9.2p0 上运行 spork 时遇到问题:
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 盒子上运行有建议吗?rspec 的 30 年代 Rails 初创公司让我很生气 :-(