Created
September 7, 2010 17:06
-
-
Save yrral86/568675 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I created a symlink: | |
/usr/local/rvm/gems/default => /usr/local/rvm/gems/ruby-1.9.2-p0 (this should be updated to the current | |
ruby version you have selected, a la /usr/local/rvm/rubies/default) | |
This allowed me to change my httpd.conf from: | |
LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.2-p0/gems/passenger-2.2.15/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/local/rvm/gems/ruby-1.9.2-p0/gems/passenger-2.2.15 | |
to: | |
LoadModule passenger_module /usr/local/rvm/gems/default/gems/passenger-2.2.15/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/local/rvm/gems/default/gems/passenger-2.2.15 | |
Once rvm is changed to maintain that symlink, changing ruby versions should still allow passenger to find | |
its module (you might need to build the module again for that version i.e. passenger-install-apache2-module) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment