We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c49084 commit 4a988b7Copy full SHA for 4a988b7
tool/rdoc-srcdir
@@ -1,7 +1,9 @@
1
#!ruby -W0
2
3
-rdoc_path = Dir.glob("#{File.dirname(__dir__)}/.bundle/gems/rdoc-*").first
4
-$LOAD_PATH.unshift("#{rdoc_path}/lib")
+%w[tsort rdoc].each do |lib|
+ path = Dir.glob("#{File.dirname(__dir__)}/.bundle/gems/#{lib}-*").first
5
+ $LOAD_PATH.unshift("#{path}/lib")
6
+end
7
require 'rdoc/rdoc'
8
9
# Make only the output directory relative to the invoked directory.
0 commit comments