Skip to content

Commit 9e713f0

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Remove no longer needed condition
The `force-ruby-platform` settings is properly respected when materializing since rubygems/rubygems@e17d7e9efb91. rubygems/rubygems@c4ba54eb96
1 parent af304ad commit 9e713f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/bundler/definition.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,6 @@ def pin_locally_available_names(source_requirements)
650650

651651
def current_ruby_platform_locked?
652652
return false unless generic_local_platform_is_ruby?
653-
return false if Bundler.settings[:force_ruby_platform] && !@platforms.include?(Gem::Platform::RUBY)
654653

655654
current_platform_locked?
656655
end

0 commit comments

Comments
 (0)