[DRE-commits] [gem2deb] 01/03: gem2deb-test-runner: add '.' to $LOAD_PATH with --autopkgtest

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Sep 2 23:11:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit e5b817eb9f103edac1df4117833249a4aefbc777
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Sep 2 07:59:38 2014 -0300

    gem2deb-test-runner: add '.' to $LOAD_PATH with --autopkgtest
---
 lib/gem2deb/test_runner.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gem2deb/test_runner.rb b/lib/gem2deb/test_runner.rb
index 3f7ba34..9ba9f51 100644
--- a/lib/gem2deb/test_runner.rb
+++ b/lib/gem2deb/test_runner.rb
@@ -29,7 +29,7 @@ module Gem2Deb
 
     def load_path
       if self.autopkgtest
-        return []
+        return ['.']
       end
 
       # We should only use installation paths for the current Ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list