Multiple Instances of Server?

Hello-

Is it not possible to run multiple instances of 'ruby script/server'
for different applications?

I have 2 apps, say App1 and App2 and I would like to be able to host
these locally at the same time using ruby script/server for each. Is
this not possible? Is it a bad idea?

This is on Red Hat Linux.

Thanks!

I have 2 apps, say App1 and App2 and I would like to be able to host
these locally at the same time using ruby script/server for each. Is
this not possible? Is it a bad idea?

Specify a different port (-p switch for script/server), it defaults to
3000 but only one server can attach to any given port.

Perfect, thanks!

Hi,

  I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with
apache server. My app performance is too slow so i configured the app
with new relic and could see the ruby has 2 instances. One is for
ruby(nobody) =201 MB and one more for ruby(root)= 73.9 MB. I killed the
processes but still can see the same. Please help me and say why 2
instances are running for ruby?.