Thinking in GIS
a blog about GIS from a urban geogeek living at the countryside
Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Windows
Posted: November 15, 2007Categories: devs, Windows, Ruby on Rails, Apache
Feedback: View 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.Install Ruby, gems and then install...
Read the full post
Read the full post
Ruby on Rails applications with Mongrel cluster and Apache url rewriting on Ubuntu
Posted: November 08, 2007Categories: devs, Apache, Ruby on Rails, Ubuntu
Feedback: View 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 rubysudo apt-get install ruby ri rdoc libmysql-ruby# download rubygemssudo wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz# tar rubygemstar -xvzf rubygems-0.9.4.tgz# ruby setup.rb rubygems scriptcd rubygems-0.9.4sudo ruby setup.rb# download and install Ruby on Rails frameworksudo gem install rails --include-dependenciesmoreInstall Apache 2.2 and enable the needed modules (url rewriting, proxy, proxy_balancer e proxy_http)# install Apache 2.2sudo...
Read the full post
Read the full post