Rails Griddler-ses 导致依赖问题

Rails Griddler-ses causing dependancy issues

我将 griddler 和 griddler-ses gem 添加到我的 rails 项目中,现在我收到此错误。当我删除 griddler-ses gem 时,错误消失了。

stack.rb:108:in `assert_index': No such middleware to insert before: ActionDispatch::ParamsParser (RuntimeError)

这是我的 Gemfile

gem 'rails', '~> 5.0.1'
gem 'sinatra', '2.0.0.beta2'
gem 'puma', '~> 3.0'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'jquery-rails', '~> 4.2.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'spree', '~> 3.2.0.beta'
gem 'spree_auth_devise', '~> 3.2.0.beta'
gem 'spree_gateway', '~> 3.2.0.beta'
gem 'mysql2'
gem 'faker'
gem 'carrierwave', '~> 1.0'
gem 'stripe'
gem 'skeleton-rails'
gem 'griddler'
gem 'griddler-ses'

有谁知道导致此错误的原因吗?

根据 griddler-ses GitHub page 上的拉取请求和问题判断,它目前不支持 Rails 5.

您可能希望将此作为问题记录在那里,因为 gem 需要更新以说明 the change to ParamsParser in Rails 5