at master 420 B view raw
1diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb 2index 49882b2cd9..96672df2ea 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