summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-17 00:50:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-17 00:50:15 +0000
commite5471cbe631cf2cb7949b46d480f68affdc29790 (patch)
treefd8072c8ac681c2b5bb4254560ee1c64bb9e632a /lib
parentdb577345ca577e36dd8026b43f9e104d4680a4ad (diff)
servlet.rb: requires json
* lib/rdoc/servlet.rb (documentation_search, root_search): requires json for JSON.dump and fix sporadic failures due to the loading order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/servlet.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rdoc/servlet.rb b/lib/rdoc/servlet.rb
index ec8fd739f1..7ef04655e5 100644
--- a/lib/rdoc/servlet.rb
+++ b/lib/rdoc/servlet.rb
@@ -1,5 +1,6 @@
require 'rdoc'
require 'time'
+require 'json'
require 'webrick'
##