-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 05 Jan 2003 21:17, TOTO wrote:
> What is the ruby way to query the arch of the system? Thanks.


Hi TOTO,

Maybe this is what you are after.

[synack / Evergreen] src $ ruby -r rbconfig -e 'puts Config::CONFIG["arch"]'
i686-linux-gnu

Check out the rbconfig.rb file to see what other goodies it has. :)
- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+F+6U0X8w8X71zPcRAtNnAJ9JMecgptpLjtAh+C+6H8Q3wRunBQCcCZU2
lsAI0t7hE0UJv8zNlBs8ISA=
=in+k
-----END PGP SIGNATURE-----