Skip to content

Commit 5b18203

Browse files
authored
Merge pull request #666 from faraquet/aaa/deprecated
Remove deprecated loading of `statistics.rake` from Rakefile
2 parents 15d5d72 + bb12268 commit 5b18203

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)