From: Dan Rathbun Date: 2010-08-12T04:29:12+09:00 Subject: Re: Determining whether the running ruby is outdated? Lars, I found where the information is in each package. It is in the version.h file (a C source header file.) In the some of the older precompiled packages, a copy of this file, is placed in the #{platform} subdir of the ruby/lib/ruby/#{engine} directory. In newer precompiled packages, it cannot find it and it may have been replaced with rbconfig.rb In the source packages, the file is in the source/#{ver-patchlevel} dir of the source archives. The problem with them is thay are all in compressed archives (tarballs or zips,) so you cannot read them over the net. Here's an example of what the version.h file looks like in the 1.8.7 branch. http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7/version.h This example is only the latest patch as this is the svn active development repository. (The file will change at the next revision.) -- Posted via http://www.ruby-forum.com/.