Ruby Blueprint CSS compress.rb错误

Ruby Blueprint CSS compress.rb错误,ruby,compression,blueprint-css,Ruby,Compression,Blueprint Css,我试图使用Ruby压缩器来定制布局,我只是使用了Blueprint附带的示例。我安装了Bundler和ChunkyPNG,这是我得到的: D:\bp\lib>ruby compress.rb -p project1 C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find ffi-1.0.8 in any of

我试图使用Ruby压缩器来定制布局,我只是使用了Blueprint附带的示例。我安装了Bundler和ChunkyPNG,这是我得到的:

D:\bp\lib>ruby compress.rb -p project1
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:87:in `block in materialize': Could not find ffi-1.0.8 in any of the sources (Bundler::GemNotFound)
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:81:in `map!'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:81:in `materialize'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/definition.rb:90:in `specs'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/definition.rb:135:in `specs_for'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/runtime.rb:11:in `setup'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler.rb:115:in `setup'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler.rb:120:in `require'
from D:/bp/lib/blueprint/blueprint.rb:5:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from compress.rb:2:in `<main>'
D:\bp\lib>ruby compress.rb-p project1
C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:87:“物化中的块”:在任何源中都找不到ffi-1.0.8(bundler::GemNotFound)
来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:81:in'map!'
来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/spec_set.rb:81:in“物化”
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/definition.rb:90:in'specs'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/definition.rb:135:in'specs_for'
来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler/runtime.rb:11:in'setup'
来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler.rb:115:in'setup'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.14/lib/bundler.rb:120:in'require'
from D:/bp/lib/blueprint/blueprint.rb:5:in`'
from:29:in'require'
from:29:in'require'
from compress.rb:2:in`'
我一行字都看不懂,有没有机会让它发挥作用?
谢谢

未安装ffi gem。执行此命令后重试
bundle install

最后Joshua Clayton(Blueprint css作者)帮我完成了以下工作:
解决方案是使用“bundle install--without test”:非常棘手…

非常感谢,我尝试了这个命令,现在它可以工作了,但在安装capybara webkit时,它会出现错误而停止:安装capybara webkit(0.3.0)使用本机扩展C:/Ruby192/lib/ruby/si te_ruby/1.9.1/rubygems/installer.rb:529:“在构建扩展中的块中进行救援”:错误:构建gem本机扩展失败。(Gem::Installer::ExtensionBuildError)C:/Ruby192/bin/ruby.exe extconf.rb Gem文件将保持安装在C:/Ruby192/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.3.0中以供检查。结果记录到C:/Ruby192/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.3.0//gem\u make.out