Thursday, January 8th, 2009

Phusion Passenger installation in Mandriva 2009

Problem
You have recently installed Mandriva 2009 and you want to install phusion passenger.
Solution

First make sure that apache is installed. If it is not installed (default), do:
urpmi apache
On the selection question about the dependencies select option 1 (apache-prefork)
Use the details from the phusion passenger website. ie:
Install passenger:
gem install passenger

Run the passenger installation:
passenger-install-apache2-module

If at the second stage [...]

1 Comment » - Posted in Mandriva, ruby on rails by kosmas

Wednesday, May 7th, 2008

Disabling rails web site when using mongrel,Apache,capistrano 1.4.1

Problem
You want to disable your rails web site for maintenance, but your application uses an older capistrano version than the one currently installed.
Solution
According to the RubyOnRails Cookbook recipe 13.12, it should only be a case of running cap disable_web (enable_web).
But in the meantime you have upgraded your capistrano version to version 2, and started using [...]

No Comments » - Posted in ruby on rails by kosmas