Closed
Description
Expected behavior vs actual behavior
active_model_serializers
should support ruby 2.4 as its release candidate is live.
the json
gem is an indirect dependency of ams
, and json
supports ruby 2.4.0 only >= 2.0.0
Steps to reproduce
Update Gemfile to ruby 2.4 and bundle install or bundle update json
Environment
ActiveModelSerializers Version 0.10.3
Output of ruby -e "puts RUBY_DESCRIPTION"
: ruby 2.4.0rc1 (2016-12-12 trunk 57064) [x86_64-linux]
OS Type & Version: Ubuntu 16.04
Integrated application and version : Rails 5.0.1.rc2
Backtrace
When running bundle update json
:
$ bundle update json
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Bundler could not find compatible versions for gem "json":
In Gemfile:
json (~> 2.0.1)
active_model_serializers (~> 0.10.3) was resolved to 0.10.3, which depends on
jsonapi (= 0.1.1.beta2) was resolved to 0.1.1.beta2, which depends on
json (~> 1.8)
Additonal helpful information
The jsonapi
gem fixed this in a later beta release.
Thanks !
Metadata
Metadata
Assignees
Labels
No labels