dm-serializer misses json gem
with an empty GEM_HOME, i.e. only extlib and dm-core, dm-serializer, you can not require 'dm-serializer':
jruby -e require('rubygems');require('dm-core');require('dm-serializer');"
require': no such file to load -- json (LoadError)
Comments and changes to this ticket
@kristian: I've added json_pure as a dependency on dm-serializer which should solve this problem by ensuring that some version of json is installed on the system. MRI has the "json" gem, and JRuby has the "json-ruby" gem if people would like to compile native versions for their platforms.
The plan (from http://jira.codehaus.org/browse/JRUBY-1767) is to eventually merge json-ruby into the json package so that JRuby users can use a single command to install json support. Once this happens I will likely change the dependency from "json_pure" to "json" provided all of our target systems support it. (I say "likely" here, because I don't know when this will happen, and by the time it does we may have expanded the target systems to include Rubinius, MacRuby, IronRuby or other systems, some of which may not support the native json gem)
- State changed from unconfirmed to resolved
(from [7d167c874f4368f278eb91d62760d911ff5abfa2]) [dm-serializer] Added json_pure as a required dependency
- If native json gem is not installed, then json_pure will be used as a fallback.