This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
bundle install
does not always sync locked RUBY VERSION with Gemfile specification
#4595
Labels
When you remove the ruby version specified from the
Gemfile
,bundle install
seems to only remove the lockedRUBY VERSION
from theGemfile.lock
if you have also removed or updated some other gem specification in yourGemfile
.bundle env
output:ruby "2.3.0"
line fromGemfile
:bundle install
Gemfile.lock
:If instead of just removing the
ruby "2.3.0"
line fromGemfile
, you also remove thegem 'thor'
line:and run
bundle install
, the resultingGemfile.lock
has theRUBY VERSION
removed:Reproduction steps by @thewoolleyman
The text was updated successfully, but these errors were encountered: