Rails

Rails or Ruby on Rails is a web application framework.

= Installation =

Install :

Setup
Point a web browser to http://0.0.0.0:3000. are now riding rails via WEBrick. This is only for testing, not production. WEBrick could probably be used for production if it were behind nginx or an accelerator proxy such as varnish.

Configuration
Rails is not aware, this might come in handy to resolving some issues, but be aware that bundle install will blast things away.

Passenger via apache
Emerge passenger:

Add  to the APACHE2_OPTS variable in Apache's config:

Passenger needs Apache to relax the rules a little bit. Edit the file and insert relaxed settings before the closing  tag:

Backup the original Apache vhost:

Drop in the passenger vhost file for Apache:

Point a web browser to http://0.0.0.0 or http://127.0.0.1 or http://localhost and your riding rails via passenger now.

External resources

 * http://guides.rubyonrails.org/
 * http://planetrubyonrails.com/
 * http://api.rubyonrails.org/
 * http://rubyonrails.org/screencasts
 * http://railstutorial.org
 * http://railscasts.com/