From: Brian Candler Date: 2012-08-08T00:05:56+09:00 Subject: Re: The source of RUBY_PLATFORM Probably from uname -o This is in the source for ruby-1.8.7-p352: $ grep RUBY_PLATFORM configure #define RUBY_PLATFORM __ARCHITECTURE__ "-${target_os}" #define RUBY_PLATFORM "${arch}" And target_os is determined by autoconf. See http://sources.redhat.com/autobook/autobook/autobook_261.html autoconf is a mess of shell scripts and m4, have fun digging through them :-) -- Posted via http://www.ruby-forum.com/.