#776 ✓resolved

dm-serializer requires the json gem, when it is bundled with Ruby 1.9.1-rc1

Reported by Postmodern | January 17th, 2009 @ 10:25 PM

When I was trying to require dm-serializer 0.9.9 in my code with Ruby 1.9.1-rc1, I noticed it was failing to require 'json' and 'json_pure'. This is because dm-serializer/lib/dm-serializer/to_json.rb attempts to load 'json' or 'json_pure' as RubyGems using the 'gem' method. With Ruby 1.9.1-rc1, json is now bundled along with Ruby.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Referenced by