Nov
15
Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Windows
Filed Under devs, Ruby on Rails, Windows, Apache | 24 Comments
In the last post I showed you a configuration for serving Ruby on Rails applications with Mongrel cluster and Apache in a *nix environment (Ubuntu).
With this post I will reproduce the same configuration in a Windows environment.
The main difference in Windows is that you cannot use the mongrel_rails command with the cluster option (provided by the mongrel_cluster gem) that relies on daemonize functionality, only available on *nix platforms.
What you will need to do is to manually create n mongrel services for the n clusters you will need. Let's see how to do that.
Nov
8
Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Ubuntu
Filed Under devs, Ruby on Rails, Ubuntu, Apache | 3 Comments
This is the workflow I followed for setting up my Ubuntu (Ubuntu 7.04 - the Feisty Fawn, but should work without problems also for the latest Ubuntu 7.10 - Gutsy Gibbon ) development machine for serving Rails application with Mongrel clusters and Apache.
Install Ruby, Gems and Ruby on Rails
# install ruby sudo apt-get install ruby ri rdoc libmysql-ruby # download rubygems sudo wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz # tar rubygems tar -xvzf rubygems-0.9.4.tgz # ruby setup.rb rubygems script cd rubygems-0.9.4 sudo ruby setup.rb # download and install Ruby on Rails framework sudo gem install rails --include-dependencies