Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
420 B
Diff
14 lines
420 B
Diff
diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb
|
|
index 49882b2cd9..96672df2ea 100644
|
|
--- a/lib/plugin_gem.rb
|
|
+++ b/lib/plugin_gem.rb
|
|
@@ -4,7 +4,7 @@ module PluginGem
|
|
def self.load(path, name, version, opts = nil)
|
|
opts ||= {}
|
|
|
|
- gems_path = File.dirname(path) + "/gems/#{RUBY_VERSION}"
|
|
+ gems_path = File.dirname(path) + "/gems/#{Gem.ruby_api_version}"
|
|
|
|
spec_path = gems_path + "/specifications"
|
|
|