ご覧いただきありがとうございます。
Railsを5.0.1から5.1.5にアップグレードしようとしているのですが、以下のエラーになり完了できません。
Bundler could not find compatible versions for gem "actionpack": In Gemfile: active_model_serializers (~> 0.10.6) was resolved to 0.10.6, which depends on actionpack (< 6, >= 4.1) draper was resolved to 3.0.1, which depends on actionpack (~> 5.0) meta-tags was resolved to 2.4.0, which depends on actionpack (<= 5.1.0, >= 3.2.0) rails (= 5.1.5) was resolved to 5.1.5, which depends on actionpack (= 5.1.5) rails-controller-testing was resolved to 1.0.1, which depends on actionpack (~> 5.x) rspec-rails was resolved to 3.5.2, which depends on actionpack (>= 3.0) Bundler could not find compatible versions for gem "rails": In Gemfile: rails (= 5.1.5) gretel was resolved to 3.0.9, which depends on rails (>= 3.1.0)
試しにactive_model_serializers
のupdateを試みたのですが以下のようなエラーになってしまいます。
You have requested: rails = 5.1.5 The bundle currently has rails locked at 5.0.1. Try running `bundle update rails` If you are updating multiple gems in your Gemfile at once, try passing them all to `bundle update`
ちなみに以下の手順で行ってます。
- gemファイルのrailsを5.1.5に書き換え
bundle update rails
を実行- エラー
bundle update active_model_serializers
を実行- エラー
手順が間違っているのか違う原因があるのかわからず。わかるかたいらっしゃればご教示いただきたいです。
どうぞよろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/04/13 01:40