[DRE-commits] [SCM] ruby-text.git branch, master, updated. debian/0.2.0-1-2-gff2b857
Olivier Sallou
olivier.sallou at irisa.fr
Tue Oct 4 14:48:02 UTC 2011
The following commit has been merged in the master branch:
commit ff2b857bbcfd775eee5d5f1cc0170e6e56b62b67
Author: Olivier Sallou <olivier.sallou at irisa.fr>
Date: Tue Oct 4 16:34:09 2011 +0200
fix way of calling ruby
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index dbfac65..e1dbde4 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,6 +1,8 @@
$: << 'lib' << '.'
-ruby = "ruby"
+require 'rbconfig'
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+
exec("#{ruby} -I. test/test_double_metaphone.rb")
exec("#{ruby} -I. test/test_levenshtein.rb")
exec("#{ruby} -I. test/test_metaphone.rb")
--
ruby-text.git
More information about the Pkg-ruby-extras-commits
mailing list