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

March 16, 2017 2.6k views
Ruby on Rails DigitalOcean Articles

I am following below link to deploy a sample ruby on rails application on VM using unicorn server. https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04#conclusion

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

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...
Have another answer? Share your knowledge.