aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine/commands.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-05-04 23:11:09 -0700
committerPiotr Sarnacki <drogus@gmail.com>2012-05-04 23:11:11 -0700
commit2ce5e4fa6c6f44eb0c5cbf812ca62aa03b802379 (patch)
tree54a69eecf312f9a6f5d363fb7d295d8e111449c9 /railties/lib/rails/engine/commands.rb
parentc5176023a0585278c533610daf1eaf6ba7d19cd8 (diff)
downloadrails-2ce5e4fa6c6f44eb0c5cbf812ca62aa03b802379.tar.gz
rails-2ce5e4fa6c6f44eb0c5cbf812ca62aa03b802379.tar.bz2
rails-2ce5e4fa6c6f44eb0c5cbf812ca62aa03b802379.zip
Give more detailed instructions in script/rails in engine
closes #4894
Diffstat (limited to 'railties/lib/rails/engine/commands.rb')
-rw-r--r--railties/lib/rails/engine/commands.rb4
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