File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ def converge_specs(specs)
881881
882882 def metadata_dependencies
883883 @metadata_dependencies ||= [
884- Dependency . new ( "Ruby\0 " , Gem . ruby_version ) ,
884+ Dependency . new ( "Ruby\0 " , Bundler :: RubyVersion . system . gem_version ) ,
885885 Dependency . new ( "RubyGems\0 " , Gem ::VERSION ) ,
886886 ]
887887 end
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class Source
55 class Metadata < Source
66 def specs
77 @specs ||= Index . build do |idx |
8- idx << Gem ::Specification . new ( "Ruby\0 " , Gem . ruby_version )
8+ idx << Gem ::Specification . new ( "Ruby\0 " , Bundler :: RubyVersion . system . gem_version )
99 idx << Gem ::Specification . new ( "RubyGems\0 " , Gem ::VERSION ) do |s |
1010 s . required_rubygems_version = Gem ::Requirement . default
1111 end
You can’t perform that action at this time.
0 commit comments