Installation with Rails droplet

Posted August 1, 2019 4.1k views
Ruby on RailsUbuntu 18.04

I use the Rails droplet on Ubuntu 18 to have a pre configured installation, because I’m new to this and don’t want to configure everything.

I have a rails application but can not access it in the browser. The configuration in nginx and puma is set to my application but in the browser is still “Yay! You’re on Rails!”.

Puma and nginx are restarted.
What else is to configure? I found many tutorials, but all outdated.

thanks in advance.

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.

Submit an Answer
2 answers

Hello, Chris

You can follow this article in order to configure your Rails App. It’s for Ubuntu 14.04, but I believe the process should not be that different for version 18.

Let us know how it goes.


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 Puma and Nginx on Ubuntu 14.04. Puma...
  • Thank you for your responses.
    I saw the tutorial before and some for Ubuntu 18, but the configuration differ from the Rails droplet.

    But after changing the rails.service again, it’s working.
    It’s not 100% it should be, but at the moment I’m ok with it.


    • I ultimately ended up editing rails.service too, it worked for a few hours, and then stopped working, and all I see now is an error which says the server isn’t responding

The tutorial assumes that we start with a blank droplet, and gets us to setup everything from scratch.
While if we’re starting with a one-click app, like the OP did, a lot of this doesn’t apply.

It would be great if you could write something about how to configure our existing RoR code to work with a one-click droplet and with all what comes with it.

Please help