Ruby on Rails is a popular web application framework that has generated a lot of hype since 2006. We can find it at http://www.rubyonrails.org. It usually works with Apache, but with some simple configuration and mod_fastcgi
we can make it fly with Lighttpd.
Note
Ensure a full FastCGI installation
As stated in Chapter 1, depending on our system, we might need to add fastcgi-devel packages to actually use it. If our Lighttpd has mod_fastcgi
, we should be fine.
First, if we do not already have mod_fastcgi
, we need to install the Ruby interpreter. The download page at http://www.ruby-lang.org/de/downloads/ has directions for Ubuntu Linux and Mac OS X, as well as an installer for Windows. The installation should be quite simple. Just follow the instructions on the page.
Next, we need RubyGems, the ruby package install manager. This is also a simple download and installation (using Ruby itself). Download this from http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz, unpack...