Skip to content

Commit 68eefc9

Browse files
committed
Fix duplicate Rake tasks
1 parent 22b81b0 commit 68eefc9

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [Unreleased]
22

3+
## [1.21.2] - 2026-03-11
4+
5+
- Fix duplicate Rake tasks (#238).
6+
37
## [1.21.1] - 2026-02-27
48

59
- Improve styling for the `skills` CLI (#223).

lib/rage/tasks.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ def configuration_file
2828
end
2929
end)
3030

31+
begin
32+
StandaloneMigrations::MinimalRailtieConfig.paths["lib/tasks"] = []
33+
rescue => e
34+
warn("WARNING: Failed to disable StandaloneMigrations task auto-loading (#{e.class}: #{e.message})")
35+
end
36+
3137
StandaloneMigrations::Tasks.load_tasks
3238
end
3339

lib/rage/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Rage
4-
VERSION = "1.21.1"
4+
VERSION = "1.21.2"
55
end

0 commit comments

Comments
 (0)