mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
14 lines
420 B
Diff
14 lines
420 B
Diff
|
diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb
|
||
|
index 855d1aca2c..8115623547 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"
|
||
|
|