After running cap production deploy:restart Our remote Puma log would show the following: -su: bundle: command not found However, this was an active production server, so the bundler gem existed. After logging in and attempting to run a simple command, such as: bundle exec rails console The console would output the following: […]
Tag: bundle
Capistrano, rbenv, upstart, and -su: bundle: command not found
If you’re running into the following error attempting to deploy via Capistrano with rbenv, foreman, and upstart: -su: bundle: command not found Then, be sure to take the export and eval rbenv statements in your ~/.bashrc file and copy them to the bottom of your ~/.profile export PATH=”$HOME/.rbenv/bin:$PATH” eval “$(rbenv init -)” As this […]