- Plesk for Linux
In an attempt to install Bundler in Plesk > Domains > example.com > Ruby > Bundle Install, the process fails with the following error message:
rbenv: bundle: command not found
ERROR:rubymng:Command '['/usr/local/psa/admin/sbin/filemng', 'gloop', 'exec', '/var/www/vhosts/example.com/example', '/bin/bash', '-l', '-c', 'bundle install --path vendor/bundle']' returned non-zero exit status 127
Insufficient permissions for the Bunlder installation.
- Log into Plesk.
- Set Access to the server over SSH as /bin/bash in Domains > example.com > Web Hosting Access and press the OK button to apply the changes:
- Log into the server via SSH under the subscription system user that can be found in Domains > example.com > Web Hosting Access > Username * field.
- Switch to the folder with the Ruby application:
# cd /var/www/vhosts/example.com/<Ruby _application_folder_name>
- Install bundler by executing the command below:
# gem install bundler --user-install