diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-11 19:32:01 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-11 19:32:01 -0300 |
commit | d48bbc895f08efd9b98e79986d1e9aeb43c1baef (patch) | |
tree | 319855c646468df0f8979262f5c839fd16b3c34a | |
parent | 04c31e2a108d08bc142485488d06ac4a716fca7a (diff) | |
download | rails-d48bbc895f08efd9b98e79986d1e9aeb43c1baef.tar.gz rails-d48bbc895f08efd9b98e79986d1e9aeb43c1baef.tar.bz2 rails-d48bbc895f08efd9b98e79986d1e9aeb43c1baef.zip |
Add example for rails server port option.
-rw-r--r-- | railties/guides/source/command_line.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/command_line.textile b/railties/guides/source/command_line.textile index 57c71eee09..6110846b19 100644 --- a/railties/guides/source/command_line.textile +++ b/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+ |