If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using Phusion Passenger to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) helped alleviate this problem by providing a nice little visual panel in your Mac’s Preference Pane:
The nifty little add-on allows you to easily add a new Rails project, set it to development or production mode, and also restart it. It’s great if you are not sure/forgot where all the virtual host files are for your apache configuration.
As with all things in life, nothing is perfect. In this case, I work on a project with multiple environments: development, staging, preprodstaging, and production just to name a few. The passenger pane was great when you just had to choose between development or production but what do you do if your desired environment is named something else? Don’t sweat, apparently there’s a simple little trick to customize your configuration file exactly to your liking even if the pane does not offer those options. To do so, simply select the project your want to edit from the project list and then drag the it to your favorite text editor on the dock, in this case, Textmate.Now that the file is opened in the editor, edit to your heart’s content, save, restart your passenger instance for the project and you are ready to see your updated changes!





I want to quote your post in my blog. It can?
And you et an account on Twitter?
Sure, feel free to do so.
Wonderful blog post! This can aid some people learn about this matter. Would you like to incorporate video clips besides these? It will without any doubt help out. Your reason was spot on and owing to you; I perhaps will not discuss all sorts of things to my buddies. I could simply direct them here.
Found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later .. Big thanks for the useful info i found on Xplor Digital BLog | Web Development Blog.
I want to thank the blogger very much not only for this post but also for his all previous efforts. I found kang-chen.com to be very interesting. I will be coming back to kang-chen.com for more information.
Keep up the great posts. I really like reading your posts. Thanks.
Keep up the great articles. I really like reading what you have to say. Thanks.
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now. Keep it up!
And according to this article, I totally agree with your opinion, but only this time!
Your header is a bit wonky in Opera, mate.
Thanks for a awesome post and interesting comments. I found this post while surfing the web for some random stuff. Thanks for sharing this article.
Thank You For This Blog, was added to my bookmarks.
Very Interesting Post! Thank You For Thi Post!
Hey, found your site by accident doing a search on Ask but I’ll definitely be returning. As for your post… I agree with a lot of what you’ve said but wouldn’t it be just as easy to move on? I mean why screw around with your quality of life if you don’t have to?
Very Interesting Post! Thank You For Thi Post!
I just sent this post to a bunch of my friends as I agree with most of what you’re saying here and the way you’ve presented it is awesome.
I just book marked your blog on Digg and StumbleUpon.I enjoy reading your commentaries.
Very informative post. Thanks for taking the time to share your view with us.
Very Interesting Information! Thank You For Thi Post!
Hey this is a great article. I’m going to email this to my buddies. I stumbled on this while surfing for some rock lyrics, I’ll be sure to visit regularly. thanks for sharing.
I’m pretty new to BlogEngine and noticed that a number of your other readers have different
I love it!
Just to remark that your post is awesome.. The lucidity in your publish is simply magnificent and i can take for given you are an specialist on this theme.