2010-11-22 61 views
1

我剛升級到雪豹,跑了助理,花了幾個小時試圖讓這些寶石工作沒有運氣。當我嘗試啓動我的服務器時,出現以下錯誤。所有缺失的寶石實際上都在供應商目錄中。這適用於另一個人的雪豹,所以它必定是我從豹或我今天搞砸的其他東西的人工製品。雪豹和nokogiri藍布和feedzirra的寶石問題

我試過耙寶石:build:force。試圖手動刪除.bundles。我也刪除了mac端口,重新安裝並做了:sudo port install libxml2 libxslt。還安裝了xcode。

ruby script/server 
=> Booting WEBrick 
=> Rails 2.3.5 application starting on http://0.0.0.0:3000 
dlsym(0x103a010a0, Init_bluecloth_ext): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle 
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth.rb:156 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
dlsym(0x1026a0790, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
dlsym(0x103998840, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine/sax_document.rb:1 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine.rb:5 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/feedzirra-0.0.23/lib/feedzirra.rb:5 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
dlsym(0x102690920, Init_bluecloth_ext): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle 
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth.rb:156 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
dlsym(0x1026a7a80, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
dlsym(0x102ab4c00, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine/sax_document.rb:1 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine.rb:5 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/gems/feedzirra-0.0.23/lib/feedzirra.rb:5 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' 
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' 
/Users/jnylund/Projects/vente/config/environment.rb:12 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' 
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' 
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' 
script/server:3 
Missing these required gems: 
    bluecloth = 2.0.5 
    nokogiri = 1.4.1 
    feedzirra = 0.0.23 

You're running: 
    ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby 
    rubygems 1.3.5 at /Users/jnylund/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 

Run `rake gems:install` to install the missing gems. 

回答

1

花了試錯2天,但我似乎有些東西在工作,我不是很確定什麼治癒的問題,但這裏是我最好的猜測:

env ARCHFLAGS="-arch x86_64 rake gems:build:force 

我想這是最後修復。

我沒有使用也清理我的所有系統的寶石:

env ARCHFLAGS="-arch x86_64 gem pristine --all 

因此,它可能這些寶石的一個依賴於我的系統中的寶石和幫助也。

Joel

+1

當您*升級到Snow Leopard時,以前爲i386 Mac編譯的原生擴展需要重新編譯爲X64,因爲Snow Leopard是64位的。這就是爲什麼迫使重建幫助。 – 2010-11-23 20:47:45

1

我可以推薦RVM嗎?

http://rvm.beginrescueend.com/

它來管理您的Ruby安裝,只是一個了不起的工具,削減了與安裝或升級的Ruby所有麻煩的99.999%。

它還允許您使用單個命令同時在系統上安裝任何版本的Ruby 並且它幾乎可以削減所有需要的操作。我發現它在性能,使用和部署方面都非常完美,因爲它受到了創作者的很好的支持。

RVM的美妙之處在於,它爲所安裝的每個Ruby版本在其自身的目錄結構中存儲了所有gem,這意味着您根本不需要擔心路徑(除了初始設置之外,全部記錄在安裝程序中)

+0

我之前使用過rvm,但擔心這是我從雪豹移動過程中遇到的問題的一部分。我實際上並沒有改變ruby版本,只是操作系統。 – Joelio 2010-11-22 04:39:46

+0

我使用雪豹,造型美。 – scaney 2010-11-22 04:45:13

+0

要清除此問題,無論我是否使用RVM退出 – Joelio 2010-11-22 05:11:09

1

這是出售寶石的問題:您的本地寶石通常無法從一臺機器移植到另一臺機器,或者升級操作系統後。你的商品寶石當然不能在Linux或Windows上工作。

你需要做的是清理你的寶石並重新編譯 - 相當於gem pristine all。清理你的vendor/gems並重新出售可能會解決問題。但我強烈建議切換到Bundler來管理您的寶石依賴項。它在2.3.5上效果很好。

如果在通過正常方式安裝這些寶石時仍然遇到問題(例如,執行gem install nokogiri,然後嘗試irb -rrubygems -rnokogiri),那麼您肯定會遇到更大的問題。很難說這會是什麼。任何來自您的XCode安裝的東西都會出現硬件問題。