2013-12-17 70 views
0

乘客在「正常工作」(如廣告)時很驚人,但如果不正確,很難弄清真實情況。Phusion乘客:您的Gemfile中發生錯誤,Bundler無法繼續

There was an error in your Gemfile, and Bundler cannot continue. 
/usr/lib/ruby/vendor_ruby/bundler/dsl.rb:12:in `rescue in evaluate' 
/usr/lib/ruby/vendor_ruby/bundler/dsl.rb:6:in `evaluate' 
/usr/lib/ruby/vendor_ruby/bundler/definition.rb:18:in `build' 
/usr/lib/ruby/vendor_ruby/bundler.rb:135:in `definition' 
/usr/lib/ruby/vendor_ruby/bundler.rb:123:in `load' 
/usr/lib/ruby/vendor_ruby/bundler.rb:107:in `setup' 
/usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in `<top (required)>' 
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' 
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' 
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:219:in `block in run_load_path_setup_code' 
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:333:in `running_bundler' 
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:217:in `run_load_path_setup_code' 
/usr/share/passenger/helper-scripts/rack-preloader.rb:96:in `preload_app' 
/usr/share/passenger/helper-scripts/rack-preloader.rb:153:in `<module:App>' 
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>' 
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>' 

bundler源修修補補透露實際的異常消息:

cannot load such file -- rubygems/format (LoadError) (Bundler::GemfileError) 

這還不是特別無論是信息,但至少它看起來像bundler是在錯誤的環境中運行。用戶下執行bundle應用程序在運行收益率:

Your bundle is complete! 
Gems in the groups development and test were not installed. 
It was installed into /home/appname/www/shared/bundle 

任何指針將非常感激。謝謝!

+0

您使用了rvmsudo當您運行包安裝 –

+0

沒有,只是'捆install'。寶石真的就在那裏捆綁者說,他們是。我不知道爲什麼/ usr/lib/ruby​​/vendor_ruby/bundler被調用... – sehnsucht

+0

看看這個問題的接受的答案評論http://stackoverflow.com/questions/10574405/error-in-your -gemfile-and-bundler-即使你使用的ruby 2.0捆綁軟件可能使用1.8也不能繼續 - 如果這些註釋不能幫你,發佈你的gemfile –

回答

0

端重新安裝了從頭開始rvmpassenger,和它的工作...

相關問題