diff options
author | murphy <murphy@rubychan.de> | 2011-07-08 16:30:07 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-07-08 16:30:07 +0000 |
commit | 277db0fcac531d9f4776bafd05f8630a45520cac (patch) | |
tree | 47c79910ef8bf5c03aa7b98bacd48461657e18f1 /lib/coderay/encoders | |
parent | 0b46fc84bdbd80004eef0fb7e4aa25c4a073c37f (diff) | |
download | coderay-277db0fcac531d9f4776bafd05f8630a45520cac.tar.gz |
minor support fixes for some Ruby engines and versions
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/json.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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" \ |