Created
November 10, 2010 14:17
-
-
Save champierre/670898 to your computer and use it in GitHub Desktop.
This file contains 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
<VirtualHost *:80> | |
ServerName testapp # hosts ファイルに 127.0.0.1 testapp を設定しておく | |
DocumentRoot "/Users/user/rails/testapp/public" | |
ErrorLog /Users/user/rails/testapp/log/error.log | |
CustomLog /Users/user/rails/testapp/log/access.log common | |
SetEnv GEM_HOME /Users/user/.rvm/gems/ruby-1.8.7-p249 # <-- .rvm 以下の gems フォルダを指定する | |
SetEnv GEM_PATH /Users/user/.rvm/gems/ruby-1.8.7-p249:/Users/user/.rvm/gems/ruby-1.8.7-p249@global # <-- .rvm 以下の gems フォルダを指定する | |
RackEnv development # <-- RailsEnv ではない | |
<Directory "/Users/user/rails/testapp/public"> | |
Order allow,deny | |
Allow from all | |
PassengerEnabled On | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment