1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: do not override Ruby $LOAD_PATH in tests
doing this will load the extension built for the wrong Ruby version
Author: Cédric Boutillier <boutil@debian.org>
Bug-Debian: http://bugs.debian.org/725532
Last-Update: 2013-10-28
Forwarded: not-needed
--- a/tests/tc_augeas.rb
+++ b/tests/tc_augeas.rb
@@ -2,9 +2,6 @@
TOPDIR = File::expand_path(File::join(File::dirname(__FILE__), ".."))
-$:.unshift(File::join(TOPDIR, "lib"))
-$:.unshift(File::join(TOPDIR, "ext", "augeas"))
-
require 'augeas'
require 'fileutils'
|