1
我試圖部署我的rails應用程序下面的這個頁面。找不到耙10.5.0在任何來源
https://gorails.com/deploy/ubuntu/14.04
所以,一切似乎都不錯,但到底什麼時候我跑
cap production deploy
它沒有工作我得到這個我的網頁上。
Please read the Passenger log file to find the details of the error.
所以,我打開該文件,我得到這個
Could not find rake-10.5.0 in any of the sources (Bundler::GemNotFound)
<pre> /var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:94:in `block in materialize'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:87:in `map!'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:87:in `materialize'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/definition.rb:137:in `specs'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/definition.rb:182:in `specs_for'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/definition.rb:171:in `requested_specs'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/environment.rb:18:in `requested_specs'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/runtime.rb:13:in `setup'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler.rb:92:in `setup'
/var/lib/gems/1.9.1/gems/bundler-1.11.2/lib/bundler/setup.rb:18:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:100:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'</pre>
我怎樣才能解決這個問題?
謝謝!
您是否運行'bundle install'? – Dharam
@dharam我可以在哪裏運行它?我在家嘗試,我得到了這個。 無法找到Gemfile或.bundle /目錄 – user3403614
你在哪裏運行'cap production deploy' – Dharam