summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-03-06 17:58:13 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-13 11:06:10 +0900
commit58b0a67432f5fd69d169ed4919ec0db6e6680279 (patch)
tree7a65841168b1442690efb037efa89fbc16dbd10e /lib/bundler/definition.rb
parentbd6aaa78c3f3590c9b24a6a9fe0d8a930580ab37 (diff)
[rubygems/rubygems] Extract a new small platform helper
https://github.com/rubygems/rubygems/commit/8f7340df8e
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 761185ff21..72fbae1984 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -592,7 +592,7 @@ module Bundler
end
def current_ruby_platform_locked?
- return false unless generic_local_platform == Gem::Platform::RUBY
+ return false unless generic_local_platform_is_ruby?
return false if Bundler.settings[:force_ruby_platform] && !@platforms.include?(Gem::Platform::RUBY)
current_platform_locked?