2011-06-05 21 views
0

我想使用Ruby壓縮器進行自定義佈局,我只是使用與Blueprint捆綁在一起的示例。我安裝了捆紮機和ChunkyPNG,這是我得到了什麼:藍圖CSS compress.rb錯誤

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>' 

我不明白什麼是寫有一行,任何機會,以使其工作,好嗎? 謝謝

回答

0

未安裝ffi gem。在此命令之後再次嘗試bundle install

+0

非常感謝,我想,指揮安裝capybara-webkit時出現錯誤:使用本地擴展安裝capybara-webkit(0.3.0)C:/ Ruby192/lib/ruby​​/si 012-te_ruby/1.9.1/ruby​​gems/installer.rb: 529:在'在build_extensions中以塊形式救援':錯誤:無法構建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_make.out – Ivan 2011-06-07 09:14:31