A
A
Alexey Bondarenko2014-04-22 18:16:15
Ruby on Rails
Alexey Bondarenko, 2014-04-22 18:16:15

How to run a server locally in a rails environment to run two applications on different ports?

Installed two development environments for Ruby-on-Rails applications on the local computer.

  • The first environment is taken here: Railsinstaller.org - everything needs to be done in it with pens in the cmd command line under Windows (it's convenient to use FAR - it has syntax highlighting).
  • The second IDE taken here: Aptana.com - it preinstalls the Linux shell - where everything can also be done manually, as in the first version.

Question: How to run two servers in parallel for two different applications - created on the same computer?
Because by default the command rails serverruns the application on port 3000, and I want to run two rails applications on the same machine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Petrov, 2014-04-22
@alekseyasherbondarenko

rails s -p 3333

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question