Permalink
Browse files

Use the ruby used in configure.

  • Loading branch information...
knu committed Jan 1, 2010
1 parent 2c3fd23 commit 00b0e758cd688c2d64064b646334a5a0cf5ec809
Showing with 7 additions and 7 deletions.
  1. +1 −1 extconf.rb
  2. +1 −1 test/conv_bitstring/runtest
  3. +1 −1 test/conv_geometry/runtest
  4. +1 −1 test/conv_network/runtest
  5. +1 −1 test/plp/runtest
  6. +1 −1 test/plt/runtest
  7. +1 −1 test/range/runtest
View
@@ -250,7 +250,7 @@ def rule(target, clean = nil)
if regexp =~ dir
next unless subdirs.include?("src/conversions/#{$1}")
end
- make.puts "\t-(cd #{dir} ; sh ./runtest #{version} #{suffix})"
+ make.puts "\t-(cd #{dir} ; RUBY='#{$ruby}' sh ./runtest #{version} #{suffix})"
end
make.close
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Running test queries ****"
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Running test queries ****"
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Running test queries ****"
View
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Create tables, functions and triggers ****"
View
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Create tables, functions and triggers ****"
View
@@ -11,7 +11,7 @@ echo "**** Create test database $DBNAME ****"
createdb $DBNAME
echo "**** Create procedural language plruby$2 ****"
-ruby b.rb $*
+"${RUBY-ruby}" b.rb $*
psql -q -n -X $DBNAME < test_mklang.sql
echo "**** Running test queries ****"

0 comments on commit 00b0e75

Please sign in to comment.