lib/coderay/encoders/json.rb in coderay-1.0.0.788.pre vs lib/coderay/encoders/json.rb in coderay-1.0.0.798.pre
- old
+ new
@@ -20,10 +20,10 @@
begin
require 'json'
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" \
"Please gem install json."
raise