aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorDavid Elliott <david@gophilosophie.com>2014-09-28 07:12:46 -0700
committerDavid Elliott <david@gophilosophie.com>2014-09-28 09:20:32 -0700
commit21ba9b11f991961cce2e55fdc8f95de97d751ad3 (patch)
tree4932f202664b331845e4bdfa1c7ce6ca924ea6b9 /guides/source
parent3a9b3ba082d50498751f6c144ef31dbefd7f0357 (diff)
downloadrails-21ba9b11f991961cce2e55fdc8f95de97d751ad3.tar.gz
rails-21ba9b11f991961cce2e55fdc8f95de97d751ad3.tar.bz2
rails-21ba9b11f991961cce2e55fdc8f95de97d751ad3.zip
technical correction in guides under 'Generating an engine'
`bin/rails` would not exist outside of a rails project
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/engines.md4
-rw-r--r--guides/source/plugins.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 24548a5b01..21ac941ac0 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -74,13 +74,13 @@ options as appropriate to the need. For the "blorgh" example, you will need to
create a "mountable" engine, running this command in a terminal:
```bash
-$ bin/rails plugin new blorgh --mountable
+$ rails plugin new blorgh --mountable
```
The full list of options for the plugin generator may be seen by typing:
```bash
-$ bin/rails plugin --help
+$ rails plugin --help
```
The `--mountable` option tells the generator that you want to create a
diff --git a/guides/source/plugins.md b/guides/source/plugins.md
index dbccfd4021..7b7eb80081 100644
--- a/guides/source/plugins.md
+++ b/guides/source/plugins.md
@@ -39,13 +39,13 @@ to run integration tests using a dummy Rails application. Create your
plugin with the command:
```bash
-$ bin/rails plugin new yaffle
+$ rails plugin new yaffle
```
See usage and options by asking for help:
```bash
-$ bin/rails plugin new --help
+$ rails plugin new --help
```
Testing Your Newly Generated Plugin