aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevcha <kevin.chavanne@gmail.com>2014-11-03 18:40:26 +0100
committerkevcha <kevin.chavanne@gmail.com>2014-11-03 18:43:29 +0100
commitb523b5a3f48e8d5678638e46df7271629785082e (patch)
tree0f1e5af28283095986103328c5c0a22be5e46d57
parente4e750ba1a82c88aed492329c3e024efa07c43d0 (diff)
downloadrails-b523b5a3f48e8d5678638e46df7271629785082e.tar.gz
rails-b523b5a3f48e8d5678638e46df7271629785082e.tar.bz2
rails-b523b5a3f48e8d5678638e46df7271629785082e.zip
Change `rails` to `bin/rails` in getting started, fix #1748 [ci skip]
-rw-r--r--guides/source/getting_started.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index fca6d41a1b..c9846b578b 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -173,7 +173,7 @@ start a web server on your development machine. You can do this by running the
following in the root directory of your rails application:
```bash
-$ rails server
+$ bin/rails server
```
TIP: Compiling CoffeeScript to JavaScript requires a JavaScript runtime and the
@@ -224,7 +224,7 @@ tell it you want a controller called "welcome" with an action called "index",
just like this:
```bash
-$ rails generate controller welcome index
+$ bin/rails generate controller welcome index
```
Rails will create several files and a route for you.
@@ -388,7 +388,7 @@ It's inside this class that you'll define methods that will become the actions
for this controller. These actions will perform CRUD operations on the posts
within our system.
-NOTE: There are `public`, `private` and `protected` methods in Ruby,
+NOTE: There are `public`, `private` and `protected` methods in Ruby,
but only `public` methods can be actions for controllers.
For more details check out [Programming Ruby](http://www.ruby-doc.org/docs/ProgrammingRuby/).