Installing Passenger (mod_rails): “Command not found”
By chris on May 21st 2008 in /dev/random | 4,191 views
If you’re installing Passenger (aka: mod_rails) and you hit the following error at the stage in which you run passenger-install-apache2-module:
sudo: passenger-install-apache2-module: command not found
all this means is that you don’t have the gems bin directory in your PATH so do this instead:
sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module
2 Responses to “Installing Passenger (mod_rails): “Command not found””

Jan Wikholm responded on 30 Jul 2008 at 12:15 pm #
Thanks!
Matt responded on 23 Dec 2008 at 12:26 am #
Thanks! Already thought I was nuts.