-su : bundle: command not found while starting application on unicorn server

Posted March 16, 2017 3.9k views
Ruby on RailsDigitalOcean Articles

I am following below link to deploy a sample ruby on rails application on VM using unicorn server.

I was going step by step but, I am getting -su : bundle: command not found ** error while executing **sudo service unicorn_appname start command.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
by Mitchell Anicas
When you are ready to deploy your Ruby on Rails application, there are many valid setups to consider. This tutorial will help you deploy the production environment of your Ruby on Rails application, with PostgreSQL as the database, using Unicorn and Nginx on Ubuntu...