Skip to content

Instantly share code, notes, and snippets.

@muddydixon
Created October 13, 2012 23:31
Show Gist options
  • Save muddydixon/3886600 to your computer and use it in GitHub Desktop.
Save muddydixon/3886600 to your computer and use it in GitHub Desktop.
(一般ユーザで)rvmを使って色々インストールした状態で、(_wwwユーザで)apache2 => passengerを使うとき
SetEnv GEM_HOME /Users/muddydixon/.rvm/gems/ruby-1.9.3-p286@global
SetEnv GEM_PATH /Users/muddydixon/.rvm/gems/ruby-1.9.3-p286@global
LoadModule passenger_module /Users/muddydixon/.rvm/gems/ruby-1.9.3-p286@global/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
PassengerRoot /Users/muddydixon/.rvm/gems/ruby-1.9.3-p286@global/gems/passenger-3.0.17
PassengerRuby /Users/muddydixon/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
RailsBaseURI /redmine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment