我想部署一个Rails 4应用程序到VPS。rvm1/capistrano3不使用gemset
我Capfile,Gemfile中,deploy.rb在this gist
在cap production deploy
失败捆绑安装的步骤,因为它不使用的宝石,并口口声声说没有找到宝石。
从cap
INFO[90fcd8c1] Running /tmp/domain_spam_checker/rvm-auto.sh 2.1.2 bundle exec gem install --file Gemfile on 162.221.181.224 DEBUG[90fcd8c1] Command: cd /home/deployer/domain_spam_checker/releases/20140922153958 && /tmp/domain_spam_checker/rvm-auto.sh 2.1.2 bundle exec gem install --file Gemfile DEBUG[90fcd8c1] [31mCould not find i18n-0.6.11 in any of the sources[0m DEBUG[90fcd8c1] [33mRun 'bundle install' to install missing gems.[0m cap aborted!
相关的输出...
Tasks: TOP => deploy => rvm1:install:gems
如何提在安装文件的某处使用宝石?
如何让rvm1/cap3进行拾取或创建gemset?
我已经提高了你的答案,因为它帮助我解决了我的问题。 但不能接受它,因为它不能解决问题。 会让其他人回答,所以它可能会帮助他人。 :-) 非常感谢 – Arindam 2014-09-23 15:47:54