I used the One-Click Install for a Rails app. Everything appears to have gone smoothly.
So I created a folder side-by-side with the /home/rails/example app and updated /etc/nginx/sites-available/rails (and thereby sites-enabled too) to point at my folder instead of example.
I then setup my secret_key_base, and ran the command
bundle exec rake assets:precompile db:migrate RAILS_ENV=production
Rebooted the server, effectively, to ensure all changes would pick up. But when accessing my site by the IP address, it still shows that default “Yay! You’re on Rails!” page.
I’m not sure what I’m overlooking and would love if someone could point me in the right direction.
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.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.