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