[DRE-commits] [SCM] gem2deb.git branch, master, updated. d6429f1fbc73f6dbc1692801167423d37b1f0dc7
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sun Apr 3 13:30:50 UTC 2011
The following commit has been merged in the master branch:
commit 41e522e065fd1f30deb54071e04f7a43350742de
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date: Sun Apr 3 14:49:44 2011 +0200
add LIBDIR to ruby's path when running tests
diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index b7dd234..87ac734 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -202,7 +202,7 @@ module Gem2Deb
end
if File::exists?('debian/ruby-test-files.yaml')
puts "Running tests for #{rubyver} using gem2deb test runner and debian/ruby-test-files.yaml..."
- cmd = "#{SUPPORTED_RUBY_VERSIONS[rubyver]} #{TEST_RUNNER}"
+ cmd = "#{SUPPORTED_RUBY_VERSIONS[rubyver]} -I#{LIBDIR} #{TEST_RUNNER}"
puts(cmd) if $VERBOSE
system(cmd)
elsif File::exists?('debian/ruby-tests.rb')
--
gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list