After creating a Rails app, configuring domain, configuring the site route and testing that I can start and access the demo application, I have uploaded my own rails application, following the guides.
I have added puma to the Gemfile and after bundle install the puma gem appears as an installed gem.
However running the modified start script does not seem to launch puma: no puma process appearing with ps -aux (whereas starting the demo application launches a puma process).
There are no error messages from the start script, which produces the folloing output:
Puma starting in single mode...
* Version 4.3.6 (ruby 2.6.5-p114), codename: Mysterious Traveller
* Min threads: 0, max threads: 16
* Environment: development
* Daemonizing...
Started Rails for addruiad
Any ideas?
EDIT:
Forgot to say that the browser shows Error 502 Bad Gateway
I'm using mysql and the mysql2 gem
I noticed that I had forgotten to migrate the database and when I did, using rake db:migrate, I got the following error message:
NoMethodError: undefined method
hosts' for #<Rails::Application::Configuration:0x0000000002e114a8>
`
This comes from the statement added as per "Post installation steps" 2 in your guide. Could it be that my application runs under Rails 4.2.5 ??!!