bin/yardoc in yard-0.8.5.2 vs bin/yardoc in yard-0.8.6
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# We do all this work just to find the proper load path
path = __FILE__
while File.symlink?(path)
- path = File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__))
+ path = File.expand_path(File.readlink(path), File.dirname(path))
end
$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
require 'yard'