# Running Multiple Rails Apps in Developer Machine

**URL:** <https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529>\
**Category:** Rails\
**Created:** [October 22, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529 "2008-10-22T15:32:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [October 22, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529/1 "2008-10-22T15:32:21Z")

</div>

Hi. I use a Windows XP system for development. Suppose i am doing a  
project in Rails. I am having another application in Rails which is used  
to create and view code snippets so that i can copy paste in my other  
projects later. Now i need the code snippets application to be running  
in background in another port say 3005 so that i can access the code  
snippets application while i am developing the project. Is there any way  
to do this?

Thank you

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [October 22, 2008, 3:36pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529/2 "2008-10-22T15:36:43Z")

</div>

Rock R. wrote:

> Now i need the code snippets application to be running  
> in background in another port say 3005 so that i can access the code  
> snippets application while i am developing the project. Is there any way  
> to do this?
> 
> Thank you

ruby script/server -p 3005

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [October 22, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529/3 "2008-10-22T17:50:18Z")

</div>

Rock R. wrote:

> Ar Chron wrote:
> 
> > ruby script/server -p 3005
> 
> Thank you. But can this server made to run at computer startup itself?

You can run a mongrel\_service and configure it to start at startup…

[http://mongrel.rubyforge.org/wiki/Win32](http://mongrel.rubyforge.org/wiki/Win32)

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [October 22, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529/4 "2008-10-22T17:54:52Z")

</div>

Ar Chron wrote:

> You can run a mongrel\_service and configure it to start at startup…
> 
> [http://mongrel.rubyforge.org/wiki/Win32](http://mongrel.rubyforge.org/wiki/Win32)

Thank you. I will try this out

---

<div class="post-metadata">

**Author:** ![rocknrollcar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Post date:** [October 22, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529/5 "2008-10-22T16:51:41Z")

</div>

Ar Chron wrote:

> ruby script/server -p 3005

Thank you. But can this server made to run at computer startup itself?
