Description: Do not modify $LOAD_PATH in YARD binaries
 We know exactly where to find the library
Author: Cédric Boutiller <cedric.boutillier@gmail.com>
Last-Update: 2012-05-04

--- a/bin/yardoc
+++ b/bin/yardoc
@@ -1,11 +1,11 @@
 #!/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__))
-end
-$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
+## 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__))
+#end
+#$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
 
 require 'yard'
 
--- a/bin/yard
+++ b/bin/yard
@@ -1,11 +1,11 @@
 #!/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__))
-end
-$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
+## 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__))
+#end
+#$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
 
 require 'yard'
 
--- a/bin/yri
+++ b/bin/yri
@@ -1,11 +1,11 @@
 #!/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__))
-end
-$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
+## 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__))
+#end
+#$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
 
 require 'yard'
 
