Home > Rails > Rails script/server command line options

Rails script/server command line options

July 25th, 2008

Usage: server [options]
-p, –port=port                  Runs Rails on the specified port.  Default: 3000
-b, –binding=ip                 Binds Rails to the specified ip.  Default: 0.0.0.0
-d, –daemon                     Make server run as a Daemon.
-u, –debugger                   Enable ruby-debugging for the server.
-e, –environment=name           Specifies the environment to run this server under (test/development/production).  Default: development
-s, –config-script=path         Uses the specified mongrel config script.

-h, –help                       Show this help message.

Bill Rails

  1. No comments yet.
  1. No trackbacks yet.