Rails 3 — Bundler/Capistrano Errors

前端 未结 8 1635
攒了一身酷
攒了一身酷 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: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'

提交回复
热议问题