BC Blog

Chase Excellence, Success will Follow

0%

Allow Two Rails Servers Running on the Same Session

Rails server runs the development server on default, in order to open another one for HTTP communication test, we need to apply few options on rails server command.

1
$ RAILS_ENV=production rails s --port=4000 --pid /home/bernie/orbit_intern/orbit/tmp/pids/server_p.pid

Welcome to my other publishing channels