Browse files

Add example for rails server port option.

  • Loading branch information...
1 parent 04c31e2 commit d48bbc895f08efd9b98e79986d1e9aeb43c1baef @smartinez87 smartinez87 committed Jun 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/command_line.textile
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+.
-$ rails server -e production
+$ rails server -e production -p 4000
h4. +rails generate+

0 comments on commit d48bbc8

Please sign in to comment.