You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that the ruby platform was removed due to sorbet being in our lockfile and #5807 but I'm not sure why x86_64-darwin-21 was added given that x86_64-darwin is already present.
What were you expecting to happen?
Nokogiri to be updated and (due to #5807) the ruby platform be removed from the lock file.
What actually happened?
Nokogiri was updated, the ruby platform was removed from the lock file but unexpectedly the x86_64-darwin-21 platform was added.
If not included with the output of your command, run bundle env and paste the output below
Environment
Bundler 2.4.2
Platforms ruby, x86_64-darwin-21
Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd) [x86_64-darwin-21]
Full Path /Users/owenstephens/.rbenv/versions/2.7.6/bin/ruby
Config Dir /Users/owenstephens/.rbenv/versions/2.7.6/etc
RubyGems 3.3.26
Gem Home /Users/owenstephens/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0
Gem Path /Users/owenstephens/.gem/ruby/2.7.0:/Users/owenstephens/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0
User Home /Users/owenstephens
User Path /Users/owenstephens/.gem/ruby/2.7.0
Bin Dir /Users/owenstephens/.rbenv/versions/2.7.6/bin
Tools
Git 2.38.1
RVM not installed
rbenv rbenv 1.2.0
chruby not installed
Bundler Build Metadata
Built At 2023-01-01
Git SHA 2cd3ed45bf
Released Version true
The text was updated successfully, but these errors were encountered:
Describe the problem as clearly as you can
We upgraded bundler and then upgraded a gem, we unexpectedly saw a version-specific platform added to the lock file.
Example, given
Gemfile
:and
Gemfile.lock
:We can update bundler with
bundle update --bundler
, which applies this diff toGemfile.lock
:If we then
bundle update --conservative nokogiri
we see this diff:I understand that the
ruby
platform was removed due tosorbet
being in our lockfile and #5807 but I'm not sure whyx86_64-darwin-21
was added given thatx86_64-darwin
is already present.What were you expecting to happen?
Nokogiri to be updated and (due to #5807) the
ruby
platform be removed from the lock file.What actually happened?
Nokogiri was updated, the
ruby
platform was removed from the lock file but unexpectedly thex86_64-darwin-21
platform was added.If not included with the output of your command, run
bundle env
and paste the output belowEnvironment
Bundler Build Metadata
The text was updated successfully, but these errors were encountered: