Skip to content

Commit bb12268

Browse files
committed
Remove deprecated loading of statistics.rake from Rakefile
1 parent bd6b377 commit bb12268

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ require "bundler/setup"
55
APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
66
load "rails/tasks/engine.rake"
77

8-
load "rails/tasks/statistics.rake"
8+
if Rails::VERSION::MAJOR < 8
9+
load "rails/tasks/statistics.rake"
10+
end
911

1012
require "bundler/gem_tasks"
1113
require "rake/tasklib"

0 commit comments

Comments
 (0)