From: "Mauricio Fernández" Date: 2003-04-14T23:28:14+09:00 Subject: Re: ANN: FreeRIDE 0.5.0 Release Candidate 2 On Mon, Apr 14, 2003 at 05:16:40PM +0900, Curt Hibbs wrote: > FreeRIDE 0.5.0 Release Candidate 2 is available for download. Go to > http://www.rubyide.org/ for details. If there are no major bugs reported in > the next couple weeks, then we will relabel this 0.5.0 final release. If you use Debian, you might want to test my packages. Add # freeride deb http://lsed.sourceforge.net/ruby/ debs/ deb-src http://lsed.sourceforge.net/ruby/ deb-src/ to /etc/apt/sources.list and then apt-get update apt-get install freeride This should automatically determine and fetch all dependencies. If you are running Debian on something other than i386, you'll have to compile some packages; this should however be easily accomplished by doing the former steps and then apt-get install apt-build apt-build update apt-build install freeride Note that the procedure with apt-build has not been tested so I cannot guarantee it will work 100% right. You can otherwise "apt-get -b source" all the dependencies by hand and then install with "dpkg -i". Summary of modifications ======================== Things I had to do to make it run flawlessly on Debian: --- freeride-0.5.0rc2.orig/config/default.yaml +++ freeride-0.5.0rc2/config/default.yaml @@ -3,14 +3,14 @@ "|": - config: '' "|": - - log_file: "./config/freeride.log" + - log_file: "/usr/share/freeride/log/freeride.log" - log_level: 2 - log_name: FreeRIDE - - plugin_path: "./plugins" + - plugin_path: "/usr/share/freeride/plugins" - product_name: FreeRIDE - - setup_file: "./config/setup.rb" + - setup_file: "/usr/share/freeride/config/setup.rb" - version: '' "|": - major: 0 - minor: 5 - - release: "0rc2" \ No newline at end of file + - release: "0rc2" --- freeride-0.5.0rc2.orig/freebase/logger.rb +++ freeride-0.5.0rc2/freebase/logger.rb @@ -24,7 +24,11 @@ @logName = logName @logFile = logFile self.logLevel = logLevel - @file = File.new(logFile, "a") + unless File.exist?(logFile) + require 'ftools' + File.makedirs(File.dirname(logFile)) + end + @file = File.new(logFile, "a") @file.sync = true end --- freeride-0.5.0rc2.orig/freebase/readers.rb +++ freeride-0.5.0rc2/freebase/readers.rb @@ -44,7 +44,7 @@ # or absolute path name given. # def self.user_filename(filespec) - return nil if @@userdir.nil? || filespec[0..0]==File::SEPARATOR + return nil if @@userdir.nil? #|| filespec[0..0]==File::SEPARATOR dir = File.dirname(filespec).split(File::SEPARATOR).last basename = File.basename(filespec) return File.expand_path(File.join(@@userdir,dir,basename)) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Linux: Where Don't We Want To Go Today? -- Submitted by Pancrazio De Mauro, paraphrasing some well-known sales talk