From: "Mauricio Fernández" Date: 2004-10-21T08:48:07+09:00 Subject: Re: [PATCH] rpa platform On Tue, Oct 19, 2004 at 04:27:25PM +0900, nobu.nokada@softhome.net wrote: > Hi, > > I think `platform' would be better to be same as RUBY_PLATFORM. Thank you. Fortunately nothing was really affected negatively by this, but your patch has been applied and the new version made available as rpa-base 0.2.2-8, so that the automatic self-update will get the fix. > diff -ru2p rpa-base-0.2.2/lib/rpa/defaults.rb rpa-base-0.2.2+/lib/rpa/defaults.rb > --- rpa-base-0.2.2/lib/rpa/defaults.rb 2004-07-10 17:12:15.000000000 +0000 > +++ rpa-base-0.2.2+/lib/rpa/defaults.rb 2004-10-19 07:09:03.000000000 +0000 > @@ -21,5 +21,5 @@ module RPA > "rpa#{RPA::VERSION}") > SITELIBDIR = File.join(RPA_BASE, ::Config::CONFIG['ruby_version']) > - SO_DIR = File.join(SITELIBDIR, ::Config::CONFIG["target"]) > + SO_DIR = File.join(SITELIBDIR, ::Config::CONFIG["arch"]) > end > end > diff -ru2p rpa-base-0.2.2/lib/rpa/install.rb rpa-base-0.2.2+/lib/rpa/install.rb > --- rpa-base-0.2.2/lib/rpa/install.rb 2004-09-05 18:40:10.000000000 +0000 > +++ rpa-base-0.2.2+/lib/rpa/install.rb 2004-10-19 07:08:38.000000000 +0000 > @@ -69,5 +69,5 @@ module Install > #FIXME: full blown object? > @metadata ||= > - {'platform' => ::Config::CONFIG['target'], > + {'platform' => ::Config::CONFIG['arch'], > 'rpaversion' => RPA::VERSION, > 'date' => Time.new.rfc2822} -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com