Closed
Description
Describe the problem as clearly as you can
bundle install
is installing wrong gem versions
Post steps to reproduce the problem
$ bundler --version
Bundler version 2.2.10
$ git diff Gemfile.lock
$ bundle config path vendor/bundle
$ bundle install
...install log...
$ git diff Gemfile.lock
diff --git a/Gemfile.lock b/Gemfile.lock
index 91be76b3f7..7781d8a220 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -13,19 +13,34 @@ GIT
multi_json (~> 1.0)
+GEM
+ remote: https://rubygems.org/
+ specs:
+ activemodel (6.1.2.1)
+ activesupport (= 6.1.2.1)
+ activerecord (6.1.2.1)
+ activemodel (= 6.1.2.1)
+ activesupport (= 6.1.2.1)
+ activesupport (6.1.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
- i18n (>= 0.7, < 2)
- minitest (~> 5.1)
- tzinfo (~> 1.1)
- zeitwerk (~> 2.2, >= 2.2.2)
+ i18n (>= 1.6, < 2)
+ minitest (>= 5.1)
+ tzinfo (~> 2.0)
+ zeitwerk (~> 2.3)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
... more changes...
What were you expecting to happen?
bundle install
should not modify Gemfile.lock
bundle install
should install dependencies specified in Gemfile.lock
What actually happened?
bundle install
updates gems.
This behaviour is not happening with 2.2.9