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.
1 parent c0a2d39 commit 1138cbbCopy full SHA for 1138cbb
example_app_generator/run_specs.rb
@@ -10,4 +10,10 @@
10
run('bin/rake --backtrace spec:controllers') || abort
11
run('bin/rake --backtrace spec:helpers') || abort
12
run('bin/rake --backtrace spec:mailers') || abort
13
-run("bin/rake --backtrace stats") || abort
+stats_command =
14
+ if ENV['RAILS_VERSION'].to_f < 8.1
15
+ "bin/rake --backtrace stats"
16
+ else
17
+ "bin/rails --backtrace stats"
18
+ end
19
+run(stats_command) || abort
0 commit comments