Я новичок в rails и пытаюсь обновить rails в проекте.
Я изменил gem 'rails', '~> 5.2.3'
на gem 'rails', '~> 5.2.3'
в моем Gemfile.
Выполнить bundle update rails
и получить
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
administrate (~> 0.8.1) was resolved to 0.8.1, which depends on
activerecord (>= 4.2, < 5.2)
administrate (~> 0.8.1) was resolved to 0.8.1, which depends on
kaminari (>= 1.0) was resolved to 1.1.1, which depends on
kaminari-activerecord (= 1.1.1) was resolved to 1.1.1, which depends on
activerecord
rails (~> 5.2.3) was resolved to 5.2.3, which depends on
activerecord (= 5.2.3)
Я попытался удалить Gemfile.lock
и выполнить bundle install
и получил:
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
active_model_serializers (~> 0.10.6) was resolved to 0.10.9, which depends on
actionpack (>= 4.1, < 6)
administrate (~> 0.8.1) was resolved to 0.8.1, which depends on
actionpack (>= 4.2, < 5.2)
rails (~> 5.2.3) was resolved to 5.2.3, which depends on
actionpack (= 5.2.3)
rspec-rails (~> 3.5) was resolved to 3.8.2, which depends on
actionpack (>= 3.0)
Bundler could not find compatible versions for gem "administrate":
In Gemfile:
administrate (~> 0.8.1)
administrate-field-carrierwave (~> 0.2.0) was resolved to 0.2.0, which depends on
administrate (< 1.0.0)
administrate-field-ckeditor (~> 0.0.9) was resolved to 0.0.9, which depends on
administrate (>= 0.3, < 1.0)
И Gemfile.lock не был создан