2

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

Darko
  • 535
  • 1
  • 6
  • 15

2 Answers2

0

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

Joseph Le Brech
  • 6,541
  • 11
  • 49
  • 84
0

Check out Phusion Passenger. It supports both the standard Apache web server and Nginx web server.

http://www.modrails.com/

Eric Van Joshnon
  • 191
  • 2
  • 13