aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/runner/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/runner/USAGE')
-rw-r--r--railties/lib/rails/commands/runner/USAGE3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/runner/USAGE b/railties/lib/rails/commands/runner/USAGE
index b2a6e8493d..24b60037f0 100644
--- a/railties/lib/rails/commands/runner/USAGE
+++ b/railties/lib/rails/commands/runner/USAGE
@@ -8,6 +8,9 @@ Run the Ruby file located at `path/to/filename.rb` after loading the app:
<%= executable %> path/to/filename.rb
+Run the Ruby script read from stdin after loading the app:
+ <%= executable %> -
+
<% unless Gem.win_platform? %>
You can also use the runner command as a shebang line for your executables: