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: command
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 […]
Find command associated with PID (process id)
To find the command / more information associated with a specific process id (PID), do the following: cat /proc/[pid]/cmdline