[BioRuby-cvs] bioruby install.rb,1.3,1.4

Mitsuteru C. Nakao nakao at pub.open-bio.org
Fri Jan 20 07:37:43 EST 2006


Update of /home/repository/bioruby/bioruby
In directory pub.open-bio.org:/tmp/cvs-serv26072

Modified Files:
	install.rb 
Log Message:
* Added './lib' to the library search path ($:) in the exec_test method.


Index: install.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/install.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** install.rb	12 Nov 2004 17:49:05 -0000	1.3
--- install.rb	20 Jan 2006 12:37:41 -0000	1.4
***************
*** 662,665 ****
--- 662,667 ----
  
    def exec_test
+     bioruby_path = './lib'
+     $:.unshift(bioruby_path) unless $:.include?(bioruby_path)
      testdir = 'test'
      $stderr.printf "Running all tests in %s...\n", testdir if verbose?



More information about the bioruby-cvs mailing list