From 915879ccf0752d86e854d72aa0063b659e1aef71 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 4 May 2012 23:11:09 -0700 Subject: Give more detailed instructions in script/rails in engine closes #4894 --- railties/lib/rails/engine/commands.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'railties') 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 -- cgit v1.2.3