我想部署軌道應用程序與卡皮斯特拉諾。應用已部署,捆綁安裝運行在
〜/ .rvm/bin/rvm默認捆綁安裝--path/home/pro/www/shared/bundle - 無開發測試 - 部署 - 安靜Rails應用程序與乘客和卡皮斯特拉諾採摘錯誤gemset
但是當我運行應用程序時,它使用默認的gemset而不是來自shared/bundled的gem。我得到以下錯誤
Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p>
Could not find rake-11.2.2 in any of the sources (Bundler::GemNotFound)
<pre> /home/pro/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize'
我不理解這裏的問題。 MY deploy.rb文件有:
set :application, 'rails_a[['
set :repo_url, '[email protected]:user/app.git'
# set :rvm_ruby_version, '[email protected]'
集:階段,%W(生產) 集:deploy_to, '/家庭/ PRO/WWW'