rbenv: bundle: command not found on production server
Have you tried installing the gem "bundler" first on your server? This gem is required to run the bundle command. SSH to your server and run the following command:
gem install bundler
Hope that helps
If you already have bundler installed (bundler -v) give this a try (it worked for me on Ubuntu 12.04 LTS):
1. gem uninstall bundler2. gem update3. gem install bundler4. redeploy
It worked for me. I'm using Ubuntu 16.04.Change user below with your user name.
sudo pico /etc/profile.d/rbenv.sh
#Fileexport RBENV_ROOT=/home/user/.rbenvexport PATH=$RBENV_ROOT/shims:$RBENV_ROOT/bin:$PATH#End File