I'm trying to install Phusion Passenger on Ubuntu 12.04.
When I try:
sudo passenger-install-apache2-module
...I get:
sudo: passenger-install-apache2-module: command not found
However, when I omit the sudo, it works fine. Also, when I log in as root and run passenger-install-apache2-module
, it works fine as well. Why would sudo passenger-install-apache2-module
not work when logged in as my non-root user, yet work fine when logged in as root?