I created a rails 6 droplet (ubuntu 20.04) and deployed my app but I can’t get it to run
I’ve edited /etc/nginx/sites-available/rails to:
nano /etc/systemd/system/rails.service to:
When I run systemctl status rails it shows
● rails.service - ExampleApp Loaded: loaded (/etc/systemd/system/rails.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2021-04-12 09:07:40 UTC; 2s ago Process: 60004 ExecStart=/bin/bash -lc bundle exec puma (code=exited, status=1/FAILURE) Main PID: 60004 (code=exited, status=1/FAILURE)
Nginx seems to be running, I’ve done daemon-reload, restarted nginx/rails.service
I’m not sure where to go from here
Any help would be appreciated!
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.
Click below to sign up and get $100 of credit to try our products over 60 days!