Rails 3 — Bundler/Capistrano Errors

前端 未结 8 1606
攒了一身酷
攒了一身酷 2020-12-07 13:39

I have a basic Rails 3 app working locally on my development box, but want to test out deploying early on to make sure everything works. I\'m using Capistrano to deploy.

相关标签:
8条回答
  • 2020-12-07 14:04

    This one worked for me:

    set :bundle_cmd, 'source $HOME/.bash_profile && bundle'

    0 讨论(0)
  • 2020-12-07 14:08

    No rvm/capistrano worked for me. The best solution I found was adding to deploy.rb file the following line (it's for non system-wide RVM):

    set :bundle_cmd, 'source $HOME/.bash_profile && bundle'

    0 讨论(0)
提交回复
热议问题