diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-05-04 23:11:09 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-05-04 23:15:48 -0700 |
commit | 915879ccf0752d86e854d72aa0063b659e1aef71 (patch) | |
tree | 47ab5e50bc9fbdc56e4cf5bbc881254d3023859f /railties/lib | |
parent | 80a292cbd9d32ed87333b58b36618cfda8d4b95a (diff) | |
download | rails-915879ccf0752d86e854d72aa0063b659e1aef71.tar.gz rails-915879ccf0752d86e854d72aa0063b659e1aef71.tar.bz2 rails-915879ccf0752d86e854d72aa0063b659e1aef71.zip |
Give more detailed instructions in script/rails in engine
closes #4894
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine/commands.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/commands.rb b/railties/lib/rails/engine/commands.rb index b71119af77..ffbc0b4bd6 100644 --- a/railties/lib/rails/engine/commands.rb +++ b/railties/lib/rails/engine/commands.rb @@ -34,6 +34,10 @@ The common rails commands available for engines are: destroy Undo code generated with "generate" (short-cut alias: "d") All commands can be run with -h for more information. + +If you want to run any commands that need to be run in context +of the application, like `rails server` or `rails console`, +you should do it from application's directory (typically test/dummy). EOT exit(1) end |