technical correction in guides under 'Generating an engine'

`bin/rails` would not exist outside of a rails project
This commit is contained in:
David Elliott 2014-09-28 07:12:46 -07:00
parent 3a9b3ba082
commit 21ba9b11f9
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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