[PATCH] rpa platform

N

nobu.nokada

Hi,

I think `platform' would be better to be same as RUBY_PLATFORM.


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}
 
M

Mauricio Fernández

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}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,420
Latest member
ZitaVos505

Latest Threads

Top