Trouble deploying first rails app
I’ve been going nuts trying to deploy a small rails app.
I followed the guide to the letter at: https://www.digitalocean.com/community/tutorials/how-to-use-the-ruby-on-rails-one-click-application-on-digitalocean and ran in to a few problems using my own repository so I tried with the sample_tasks repository provided. This worked OK so I re-attempted the guide.
I completed all the steps as with the sample_tasks but I just receive
‘The page you were looking for doesn’t exist.
You may have mistyped the address or the page may have moved.’
when trying to browse to any routes. I have tried restarting Unicorn / nginx and ensured all the paths in various config files are correct. Nginx logs just show 404 errors when accessing the routes.
Any thoughts or suggestions welcomed.
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.×