Sha256: f375e457c44aa9f8cbbb5b5fd1b342567e076a980c51cf94254bc07c4b996636
Contents?: true
Size: 790 Bytes
Versions: 8
Compression:
Stored size: 790 Bytes
Contents
=begin pre-setup.rb Copyright(c) 2005,2006 Masao Mutoh This program is licenced under the same licence as Ruby. $Id: pre-setup.rb,v 1.5 2006/02/07 00:24:44 mutoh Exp $ =end require 'fileutils' ruby = config("ruby-path") gettext = "#{File.join(config("siterubyver"), "gettext.rb")}" gettext_dir = "#{File.join(config("siterubyver"), "gettext")}" gettext_dir2 = "#{File.join(config("siterubyverarch"), "gettext")}" locale = "#{File.join(config("siterubyverarch"), "_locale.so")}" FileUtils.rm_f gettext if FileTest.exist?(gettext) FileUtils.rm_rf gettext_dir if FileTest.exist?(gettext_dir) FileUtils.rm_rf gettext_dir2 if FileTest.exist?(gettext_dir2) FileUtils.rm_f locale if FileTest.exist?(locale) rake = "#{ruby} #{File.join(config("bindir"), "rake")} setup" system(rake)
Version data entries
8 entries across 8 versions & 1 rubygems