Я только что обновил свое приложение Rails с v5.2.3 до v6.0.0.beta3. Я использую гем Daterangepicker v3.0.3, и он кажется несовместимым с Rails 6.x. Мое приложение зависит от драгоценного камня, и я действительно хотел бы придерживаться его, если это возможно (как?), А если нет, то какой камень заменит его?
Я изменил свою версию гема Rails на edge и запустил обновление пакета . Выводит следующее:
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
jquery-datatables-rails (~> 3.4) was resolved to 3.4.0, which depends on
actionpack (>= 3.1)
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
actionpack (= 6.0.0.beta3)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
activemodel (= 6.0.0.beta3)
web-console (>= 3.3.0) was resolved to 3.7.0, which depends on
activemodel (>= 5.0)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
friendly_id (~> 5.2.4) was resolved to 5.2.5, which depends on
activerecord (>= 4.0.0)
pg_search (~> 2.1, >= 2.1.5) was resolved to 2.1.5, which depends on
activerecord (>= 4.2)
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
activerecord (= 6.0.0.beta3)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
jbuilder (~> 2.5) was resolved to 2.8.0, which depends on
activesupport (>= 4.2.0)
pundit was resolved to 2.0.1, which depends on
activesupport (>= 3.0.0)
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
activesupport (= 6.0.0.beta3)
Bundler could not find compatible versions for gem "countries":
In Gemfile:
countries
country_select (~> 3.1) was resolved to 3.1.1, which depends on
countries (~> 2.0)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
bootstrap-daterangepicker-rails (~> 3.0, >= 3.0.3) was resolved to 3.0.3, which depends on
railties (>= 4.0, < 5.3)
coffee-rails (~> 4.2) was resolved to 4.2.2, which depends on
railties (>= 4.0.0)
devise (~> 4.5) was resolved to 4.6.2, which depends on
railties (>= 4.1.0, < 6.0)
jquery-rails (~> 4.3, >= 4.3.3) was resolved to 4.3.3, which depends on
railties (>= 4.2.0)
momentjs-rails (~> 2.17, >= 2.17.1) was resolved to 2.20.1, which depends on
railties (>= 3.1)
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
railties (= 6.0.0.beta3)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
railties (>= 4.0.0, < 6)
web-console (>= 3.3.0) was resolved to 3.7.0, which depends on
railties (>= 5.0)
Я прокомментировал, что мой гем Daterangepicker и обновление комплекта работали безупречно. Я вижу, что драгоценный камень зависит от рельсов <5,3,> = 4,0 . Rails v6 использует railties> v4, что, вероятно, является причиной, по которой он выдает ошибку. Что я могу сделать по этому поводу?
Заранее спасибо.