aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
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
commit71a8a86f10cfc7ab98c1ab82376955c951c9fc67 (patch)
treefd8072c8ac681c2b5bb4254560ee1c64bb9e632a /lib/rdoc
parentde3960a99a8bfa46eecdf5dd0a7ada4ba8bfc912 (diff)
downloadruby-71a8a86f10cfc7ab98c1ab82376955c951c9fc67.tar.gz
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/rdoc')
-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'
##