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: The program 'bundle' is currently not installed. You can install it by typing: sudo apt-get [...]
Read More
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 path will not be available to the user to run the necessary commands otherwise.
Read More
To find the command / more information associated with a specific process id (PID), do the following: cat /proc/[pid]/cmdline
Read More
Recent Comments