前提・実現したいこと
下記サイトを参考にしながら、Rails6でアプリケーションを作成しようとしています。
https://pikawaka.com/rails/curriculums-rails-basic-rails-setup
発生している問題・エラーメッセージ
参考にしていたサイトの「2-3 GEMをインストールしよう」で「bundle install」コマンドを実行したところ、下記のようなエラーが返ってきました。
:~/environment/book_review (master) $ bundle install Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Bundler could not find compatible versions for gem "actionpack": In snapshot (Gemfile.lock): actionpack (= 6.1.4.6) In Gemfile: rails (= 6.1.4.4) was resolved to 6.1.4.4, which depends on actionpack (= 6.1.4.4) webpacker (= 5.4.3) was resolved to 5.4.3, which depends on railties (>= 5.2) was resolved to 6.1.4.6, which depends on actionpack (= 6.1.4.6) Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.
そこで、指示通り
「bundle update」を実行したところ、下記のようなエラーが返ってきました。
:~/environment/book_review (master) $ bundle update Fetching gem metadata from https://rubygems.org/........... Resolving dependencies... Bundler could not find compatible versions for gem "actionpack": In snapshot (Gemfile.lock): actionpack (>= 6.1.4.6) In Gemfile: rails (= 6.1.4.4) was resolved to 6.1.4.4, which depends on actionpack (= 6.1.4.4) webpacker (= 5.4.3) was resolved to 5.4.3, which depends on railties (>= 5.2) was resolved to 7.0.2.3, which depends on actionpack (= 7.0.2.3) Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.
解決策が分かる方、どうかご教授お願い致します。