Every time I install Phusion Passenger I have to take a little detour between steps 1 and 2.
Step one is easy enough:
gem install passenger
Step two SHOULD be just as easy:
sudo passenger-install-apache2-module
But it’s not. My PATH is never set properly to find the executable.
To fix this I just need to add my gems/bin folder to the path and reload my environment:
echo "export PATH=\$PATH:/var/lib/gems/1.8/bin" >> ~/.bashrc; source ~/.bashrc
Now I can proceed with step two.
For more information on installing Passenger with Apache, read the official documentation.
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
I've got a masters degree in computer science and over 10 years of experience building web-based systems using Java/J2EE, Ruby, Rails and PHP. I'm a strong believer in the effectiveness of Agile Methods. Read more »
Installing Phusion Passenger for Apache: Step 1.5
Every time I install Phusion Passenger I have to take a little detour between steps 1 and 2.
Step one is easy enough:
Step two SHOULD be just as easy:
But it’s not. My PATH is never set properly to find the executable.
To fix this I just need to add my gems/bin folder to the path and reload my environment:
Now I can proceed with step two.
For more information on installing Passenger with Apache, read the official documentation.