From: Holden Glova Date: 2000-12-16T13:01:07+09:00 Subject: [ruby-talk:7388] Re: Getting name of OS ruby was built on -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Phil, On Sat, 16 Dec 2000 15:10, I think Phil Tomson wrote: > Hi, > > Anybody know how I would be able to get a string that contains the name of > the operating system that the currently running ruby was built on? I need > to be able to determine this since the program will be running on several > different OS's and I need to do different things depending on where its > running. Perhaps this is what you want? synack@eugene:~/ruby/rubyide/tests$ ruby --version ruby 1.6.2 (2000-11-27) [i486-linux] - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6OuiAzrxa+Gy/b/4RAtqWAJ93jMDt1GpGrMwGlJZDnPQ0mJR4CACghjgi G+im967V9n+2UquP6ZX51ec= =GRni -----END PGP SIGNATURE-----