gem install passenger
2nd call the apache script:
passenger-install-apache2-module
didnt work I got the follwing error:
passenger-install-apache2-module: command not found
found the file and run it:
sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module
install the missing packages, this is what I was missing:
sudo apt-get install build-essential libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
Follow the instructions given by the script