Search code examples
ruby-on-railsstartupbootwebrick

Starting Rails server on boot on CentOS


I'm pretty new to rails and trying to figure things out, I looked online but not much luck.

I have some servers that are running rails on startup without using rc.local at all, but I can't figure out why.

All I need is for rails to start on boot in production mode on port 80 (instead of 3000, as the rest of the servers also start on port 80).

Any ideas?

ATM relaying on webrick


Solution

  • Have a look at setting up nginx with ruby enterprise edition.