Report this

What is the reason for this report?

Trouble deploying first rails app

Posted on January 6, 2016
bubb

By bubb

Hi,

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.

Thanks.



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.

This comment has been deleted

Hi there,

Just following up on some old unanswered questions in case that anyone comes across them in the future.

The new Marketplace 1-Click installation should now all be working as expected:

https://marketplace.digitalocean.com/apps/ruby-on-rails

An alternative option now is to use the DigitalOcean App platform for automated deployments:

https://docs.digitalocean.com/products/app-platform/reference/buildpacks/ruby/

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.