Answer the question
In order to leave comments, you need to log in
Ruby on Rails launch?
In general, I installed ruby on rails.
But there are 2 problems: the first one starts only at the address myip:3000
How to remove 3000 from the address.
2 problem.
When I go to my project cd /web/myhost/www/testapp , then I do the command
rails server --binding=server_public_IP
Then if I exit the terminal or do Ctrl+c
, the ruby server is cut down and my site is not visible.
How to fix these problems
Answer the question
In order to leave comments, you need to log in
You need to use puma.
https://www.digitalocean.com/community/tutorials/h...
rails server --binding=server_public_IP -p 80 -d
Only the port must be free. Otherwise it won't start.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question