summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_ext.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-07-23 11:58:53 +0200
committergit <svn-admin@ruby-lang.org>2022-08-02 16:10:14 +0900
commited9bbfd7594f655702461067e3dc8106eec52385 (patch)
tree96d534df8d632c381d1f10e6341eed50275dab02 /lib/bundler/rubygems_ext.rb
parent7cc5a657eed1a537b33b7b2ec71fdb5ad9323950 (diff)
[rubygems/rubygems] Fix incorrect force_ruby_platform propagation
It was just working by chance. (cherry picked from commit https://github.com/rubygems/rubygems/commit/16b2d6bfe893) https://github.com/rubygems/rubygems/commit/8f922d980f
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r--lib/bundler/rubygems_ext.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb
index e8e03fcf8f..938c58e64d 100644
--- a/lib/bundler/rubygems_ext.rb
+++ b/lib/bundler/rubygems_ext.rb
@@ -155,6 +155,10 @@ module Gem
alias_method :eql?, :==
+ def force_ruby_platform
+ false
+ end
+
def encode_with(coder)
to_yaml_properties.each do |ivar|
coder[ivar.to_s.sub(/^@/, "")] = instance_variable_get(ivar)