From 6b8990c8540a2ef3354b7ebcf2818848b6785e55 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 20 Sep 2001 06:13:01 +0000 Subject: Add ruby-webunit, a Ruby API for automated unit testing of web sites. --- www/ruby-webunit/files/patch-install.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 www/ruby-webunit/files/patch-install.rb (limited to 'www/ruby-webunit/files') diff --git a/www/ruby-webunit/files/patch-install.rb b/www/ruby-webunit/files/patch-install.rb new file mode 100644 index 000000000000..b27edc8ff898 --- /dev/null +++ b/www/ruby-webunit/files/patch-install.rb @@ -0,0 +1,20 @@ +--- install.rb.orig Thu Jul 26 17:50:49 2001 ++++ install.rb Thu Sep 20 14:59:29 2001 +@@ -5,7 +5,7 @@ + =end + + require 'rbconfig' +-lib_dir = Config::CONFIG['sitedir'] ++lib_dir = File.join(Config::CONFIG['sitedir'], Config::CONFIG['ruby_version']) + bin_dir = Config::CONFIG['bindir'] + + require 'ftools' +@@ -23,7 +23,7 @@ + File::install( path, to, 0644, true ) + } + +-%w( html-parser htmlrepair ).each do |dir| ++%w( ).each do |dir| + Dir::chdir( BASEDIR + '/contrib/' + dir ) + system( 'ruby install.rb' ) + end -- cgit