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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!