Я пытаюсь обновить приложение rails с 5.1.4 до 5.2.
Я прошел через шаги здесь: https://www.ombulabs.com/blog/rails/upgrades/upgrade-rails-from-5-1-to-5-2.html
Однако, это полностью пропускает, как обновить ваш gemfile.
Когда я изменяю
gem 'rails', '~> 5.1.4'
на
gem 'rails', '~> 5.2.2'
Я получаю сообщение об ошибке:
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (= 5.1.6.1)
In Gemfile:
rails (~> 5.2.2) was resolved to 5.2.2, which depends on
activesupport (= 5.2.2)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
railties (>= 4.0.0, < 6) was resolved to 5.1.6.1, which depends on
activesupport (= 5.1.6.1)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Я могу устранить эти ошибки, но этопохоже, неполный способ обновления.
Как правильно обновить ваш гемфайл?