Multiple Rail Servers

Can I run multiple applications on the same computer at the same time? I need to run one, but I would like to debug and test the other without disconnecting the first.

thanks

+4
source share
4 answers

And yet, run them on a different port:

rails server -p 3001 
+5
source

several ways:

 # start on port 3000 rails server #start on 3001, get to on http://localhost:3001 rails server -p 3001 

Use http://pow.cx

+3
source

That's right. Probably the easiest way to do this is to use virtual hosts if you are using Apache.

0
source

You have some standard options, but the most common are Passenger for OS X and Linux and pow for OS X.

You can also use rails server for different port numbers and leave it in the background if you are looking for something fast and dirty.

0
source

All Articles