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 app.myapp.com | |
DocumentRoot /Users/zhonghai/apps/ruby/current/public | |
# setting the env to development | |
RackEnv development | |
</VirtualHost> |
After a restart, I've found that the app was still in production mode. Just played with it for a while and added some debug info, finally I found a workaround, that is, put the RackEnv outside the VirtualHost block.
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
# setting the env to development | |
RackEnv development | |
<VirtualHost *:80> | |
ServerName app.myapp.com | |
DocumentRoot /Users/zhonghai/apps/ruby/current/public | |
</VirtualHost> |
I am hoping this will save you some time.
P.S. I've submitted a bug report on the issue tracker
No comments:
Post a Comment