I work on my MacBook Pro. I have many rails projects in ~/dev.
It’s like:
- ~/dev/first_project
- ~/dev/second_project
- ~/dev/third_project
- and so on…
Some are rails 2 and others are rails 3 and I use RVM and I use ruby 1.8.7 for all my projects.
When I work for a project I run ‘rails s -p 3001’ or something like that. Now I’m tired of running the command. I want to use passenger with apache but I don’t want to add a configuration for each project.
Is there a way that one configuration works for all projects?
For example, first_project.mylocaldomain.com will work with ~/dev/first_project and .rvmrc in the directory. And so on. So the host name will decide which project and which directory.
I hope I explained well.
Thanks.
Sam
37signals recently released Pow; does that do anything cool for you? (Asking because I think it might, but I’m not sure.)