Skip to content
Browse files

Give more detailed instructions in script/rails in engine

closes #4894
  • Loading branch information...
1 parent 80a292c commit 915879ccf0752d86e854d72aa0063b659e1aef71 @drogus drogus committed May 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/lib/rails/engine/commands.rb
View
4 railties/lib/rails/engine/commands.rb
@@ -34,6 +34,10 @@
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

0 comments on commit 915879c

Please sign in to comment.
Something went wrong with that request. Please try again.