summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-06-11 12:01:25 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-06-20 15:20:47 +0900
commit9e713f0e8c4d79cb7ebab4a74aa89491a8dec72b (patch)
treeab1741b883568b630fb5dfa6ffd875dfe475aebb
parentaf304ad9529b26d95507071ac1711440b7e4191f (diff)
[rubygems/rubygems] Remove no longer needed condition
The `force-ruby-platform` settings is properly respected when materializing since https://github.com/rubygems/rubygems/commit/e17d7e9efb91. https://github.com/rubygems/rubygems/commit/c4ba54eb96
-rw-r--r--lib/bundler/definition.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 6cf1f9a255..fe92615f26 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -650,7 +650,6 @@ module Bundler
def current_ruby_platform_locked?
return false unless generic_local_platform_is_ruby?
- return false if Bundler.settings[:force_ruby_platform] && !@platforms.include?(Gem::Platform::RUBY)
current_platform_locked?
end