Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add example for rails server port option.

  • Loading branch information...
commit 745665dc9d96453dea6fe72e71ce2bc99f68c469 1 parent 99aca48
@smartinez87 smartinez87 authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/command_line.textile
View
2  railties/guides/source/command_line.textile
@@ -78,7 +78,7 @@ You can also use the alias "s" to start the server: <tt>rails s</tt>.
The server can be run on a different port using the +-p+ option. The default development environment can be changed using +-e+.
<shell>
-$ rails server -e production
+$ rails server -e production -p 4000
</shell>
h4. +rails generate+
Please sign in to comment.
Something went wrong with that request. Please try again.