Reputation: 4220
Is it possible to run several rails applications on one computer at the same time? I need to have one running, but would like to debug/test another one without having to turn off the first one.
Thanks
Upvotes: 4
Views: 1441
Reputation: 211710
You have a few standard options, but the most common are Passenger for OS X and Linux, and pow for OS X.
You can also use rails server
on different port numbers and leave it running in the background if you're looking for something quick and dirty.
Upvotes: 0
Reputation: 2748
Absolutely. Probably the easiest way to do it is using virtual hosts if you are using Apache.
Upvotes: 0
Reputation: 40277
couple of ways:
# start on port 3000
rails server
#start on 3001, get to on http://localhost:3001
rails server -p 3001
Use http://pow.cx
Upvotes: 3
Reputation: 372
Yet it is, start them on a different port:
rails server -p 3001
Upvotes: 5