I’m new to Ruby, and have Phusion Passenger installed. I got it working by following the instructions for Nginx.
Specifically, from their page, I do not understand this assertion:
Deployment is only a matter of uploading application files. No Ruby (on Rails)-specific server configuration required!
If that is the case, why do i seem to need a config.ru file? I was thinking I’d be able to drop an index.rb file in the passenger_root and be done with it.
The
config.ruis not so much configuration actually. In fact it is the main entry point to a Rack application (e.g a Rails app, but also Sinatra and others). As such it is part of your application and not part of the webserver configuration.