I am using Capistrano 3 to deploy a rails app, and I have run into a problem when trying to access the rails console on my VPS. When I run:
rails console production
I get an error that require relative can't load the file config/boot.rb
. The problem seems to be stemming from the fact that the app is using the rails executable in shared/bin
whereas all of my app logic is in current/bin. The problem is that the shared/config
directory does not contain a boot.rb
file. If I run:
bundle install --production
then everything seems to work. Should I just remove capistrano/bundler
from my cap file and have the capistrano script just run bundle install --production
, or am I getting other benefits from capistrano/bundler
?