aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-09-28 18:35:00 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-09-28 18:35:00 +0200
commit482e80e84440136763b47c0fba2ed65a7823f022 (patch)
tree4932f202664b331845e4bdfa1c7ce6ca924ea6b9
parent3a9b3ba082d50498751f6c144ef31dbefd7f0357 (diff)
parent21ba9b11f991961cce2e55fdc8f95de97d751ad3 (diff)
downloadrails-482e80e84440136763b47c0fba2ed65a7823f022.tar.gz
rails-482e80e84440136763b47c0fba2ed65a7823f022.tar.bz2
rails-482e80e84440136763b47c0fba2ed65a7823f022.zip
Merge pull request #17087 from taboularasa/master
technical correction in guides under 'Generating an engine' [ci skip]
-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