我跑了bundle update rails
,得到了这个。我难住了。如果activerecord-session_store
2.0 依赖于actionpack
5.2.4.1 及以上的版本,如果 actionpack 是 Rails 6 的依赖,这不应该吗?
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
activerecord-session_store (~> 2.0) was resolved to 2.0.0, which depends on
actionpack (>= 5.2.4.1)
rails (~> 6.0.3.6) was resolved to 6.0.3.6, which depends on
actionpack (= 6.0.3.6)
devise (~> 4.2) was resolved to 4.8.0, which depends on
responders was resolved to 3.0.1, which depends on
actionpack (>= 5.0)
我的宝石文件是:
source 'https://rubygems.org'
ruby '2.5.0'
gem 'rails', '~> 6.0.3.6'
gem 'pg', ' 0.18.3'
gem 'devise', '~> 4.2'
gem 'aws-sdk-s3', '~> 1.75', require: false
gem 'friendly_id', '~> 5.1'
gem 'pagy', '~> 3.7', '>= 3.7.2'
gem 'activerecord-session_store', '~> 2.0'
gem 'sprockets', '3.7.2'
gem 'aasm', '~> 5.0'
gem 'redis', '~> 4.1', '>= 4.1.3'
gem 'sidekiq', '~> 6.0', '>= 6.0.4'
gem 'local_time', '~> 2.1'
gem 'stripe', '~> 5.11'
gem 'stripe_event', '~> 2.3'
gem 'lockbox', '~> 0.4.8'
gem 'mailgunner', '~> 2.4'
gem 'rack-attack'
gem 'honeypot-captcha', '~> 1.0', '>= 1.0.1'
gem 'rack-timeout', '~> 0.6.0'
gem 'pry', '0.13.1'
gem 'image_processing', '~> 1.11'
gem 'shrine', '~> 3.3.0'
gem 'marcel', '~> 0.3.3'
gem 'webpacker', '~> 5.2', '>= 5.2.1'
gem 'json', '~> 2.3', '>= 2.3.1'