LoginSignup
0
0

More than 5 years have passed since last update.

[Rails5]jsonapi-resourcesでresourceのgenerateでエラーが出たら

Last updated at Posted at 2016-09-08

事の発端

jsonapi-resources導入後に

rails generate jsonapi:resource [xxx]

でエラーが出る

エラーの種類

Rails 5: Uninitialized constant ActionDispatch::ParamsParser::DEFAULT_PARSERS (NameError)

https://github.com/cerebris/jsonapi-resources/issues/681

対処方法

どうも現状(9/8)ではrubyGemでは上記の対応は入っていないようなので、
githubから直接取得する

Gemfile
... 
gem 'jsonapi-resources', git: 'git@github.com:cerebris/jsonapi-resources.git', branch: 'master'
...
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0