summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/json.rb2
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" \