at 22.05-pre 13 lines 420 B view raw
1diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb 2index 855d1aca2c..8115623547 100644 3--- a/lib/plugin_gem.rb 4+++ b/lib/plugin_gem.rb 5@@ -4,7 +4,7 @@ module PluginGem 6 def self.load(path, name, version, opts = nil) 7 opts ||= {} 8 9- gems_path = File.dirname(path) + "/gems/#{RUBY_VERSION}" 10+ gems_path = File.dirname(path) + "/gems/#{Gem.ruby_api_version}" 11 12 spec_path = gems_path + "/specifications" 13