Open2
Rails 7 アップデートの記録
$ bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies....
Bundler could not find compatible versions for gem "activemodel":
In snapshot (Gemfile.lock):
activemodel (= 6.1.3)
In Gemfile:
annotate was resolved to 3.1.1, which depends on
activerecord (>= 3.2, < 7.0) was resolved to 6.1.3, which depends on
activemodel (= 6.1.3)
rails (= 7.0.2) was resolved to 7.0.2, which depends on
activemodel (= 7.0.2)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
$ bunldle update
すればうまくいった