summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_ext.rb
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/rubygems_ext.rb11
1 files changed, 10 insertions, 1 deletions
@@ -16,6 +16,7 @@ require "rubygems/specification"
require "rubygems/source"
require_relative "match_metadata"
require_relative "match_platform"
# Cherry-pick fixes to `Gem.ruby_version` to be useful for modern Bundler
@@ -153,12 +154,16 @@ module Gem
end
class Dependency
attr_accessor :source, :groups
alias_method :eql?, :==
def force_ruby_platform
- false
end
def encode_with(coder)
@@ -277,6 +282,10 @@ module Gem
without_gnu_nor_abi_modifiers
end
end
end
Platform.singleton_class.module_eval do