aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Minarik <karmi@karmi.cz>2010-12-28 10:25:55 +0100
committerKarel Minarik <karmi@karmi.cz>2010-12-28 10:25:55 +0100
commit8031b7e42ba1b4d3e671e6ed52ffca890da160b0 (patch)
tree4bd95a0169a44fa2f16880d8541a77c167955b3f
parente2c2c2983a83ed53e2287a936a0ab59080be16f6 (diff)
downloadrails-8031b7e42ba1b4d3e671e6ed52ffca890da160b0.tar.gz
rails-8031b7e42ba1b4d3e671e6ed52ffca890da160b0.tar.bz2
rails-8031b7e42ba1b4d3e671e6ed52ffca890da160b0.zip
Fixed incorrect instructions for calling the `rails` command explicitely in the "Getting Started" guide
-rw-r--r--railties/guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 97c050ded3..6a5a2b2d3b 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -300,7 +300,7 @@ To get Rails saying "Hello", you need to create at minimum a controller and a vi
$ rails generate controller home index
</shell>
-TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: +ruby \path\to\rails controller home index+.
+TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: <tt>ruby \path\to\your\application\script\rails generate controller home index</tt>.
Rails will create several files for you, including +app/views/home/index.html.erb+. This is the template that will be used to display the results of the +index+ action (method) in the +home+ controller. Open this file in your text editor and edit it to contain a single line of code: