From 8a646fbf00f08bd173a63231408057fe500854bf Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Wed, 5 Jan 2011 10:23:09 -0500 Subject: [PATCH] RUBY-135 Oops. Yajl compability mode doesn't support object_class --- bin/j2bson | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/j2bson b/bin/j2bson index e15a714..b776b40 100755 --- a/bin/j2bson +++ b/bin/j2bson @@ -29,10 +29,11 @@ require 'bson' # Note that, at the moment, this will not properly round-trip # in all cases from the output generated by b2json. begin -require 'yajl/json_gem' # broken with 'json/ext' +require 'json/pure' # broken with 'json/ext' rescue LoadError - puts "This script requires yajl. Please install the following:" - puts " gem install yajl" + puts "This script requires json/pure. Please install one of the following:" + puts " gem install json_pure" + puts " gem install json" Process.exit end