We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86312f5 + 572e86e commit 5fc6591Copy full SHA for 5fc6591
railties/lib/rails/generators/rails/benchmark/USAGE
@@ -13,7 +13,7 @@ Example:
13
script/benchmarks/opt_compare.rb
14
15
You can run the generated benchmark file using:
16
- `ruby script/benchmarks/opt_compare.rb`
+ `bin/rails runner script/benchmarks/opt_compare.rb`
17
18
You can specify different reports:
19
`bin/rails generate benchmark opt_compare patch1 patch2 patch3`
railties/lib/rails/generators/rails/script/USAGE
@@ -9,7 +9,7 @@ Example:
9
script/my_script.rb
10
11
You can run the script using:
12
- `ruby script/my_script.rb`
+ `bin/rails runner script/my_script.rb`
You can specify a folder:
`bin/rails generate script cleanup/my_script`
0 commit comments