search for: rails_app_two

Displaying 1 result from an estimated 1 matches for "rails_app_two".

2008 Jul 28
1
Re: switching between projects?
...e in a project folder and issue the script/server command, the default port used is 3000, so you can see the app at http://localhost:3000. You can run other apps on other ports by specifying the -p parameter when you call script/console. So you can do this: ~/rails_app_one/$ script/console ~/rails_app_two/$ script/console -p 3001 and you will have both apps running, one on port 3000 and the other on port 3001. As far as everything else, just being in the right directory determines which one is "active''. Peace, Phillip -- Posted via http://www.ruby-forum.com/. --~--~---------~--~-...