From 277db0fcac531d9f4776bafd05f8630a45520cac Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 8 Jul 2011 16:30:07 +0000 Subject: minor support fixes for some Ruby engines and versions --- lib/coderay/encoders/json.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders') diff --git a/lib/coderay/encoders/json.rb b/lib/coderay/encoders/json.rb index 9da3238..ccad554 100644 --- a/lib/coderay/encoders/json.rb +++ b/lib/coderay/encoders/json.rb @@ -22,7 +22,7 @@ module Encoders rescue LoadError begin require 'rubygems' - gem "json#{'-jruby' if defined? JRUBY_VERSION}" + gem "json" require 'json' rescue LoadError $stderr.puts "The JSON encoder needs the JSON library.\n" \ -- cgit v1.2.1