From: RichardOnRails Date: 2008-08-03T03:28:53+09:00 Subject: Re: Weird: Just unzipped ruby-1.9.0-2.zip -- no Ruby.exe On Aug 2, 7:48 am, Harry Kakueki wrote: > On Sat, Aug 2, 2008 at 2:53 PM, RichardOnRails > > > > wrote: > > Hi, > > > I've been running ruby186-26_rc2 installed from ruby186-26_rc2.exe > > over WinXP-Pro/SP2. I manually installed a the path of ruby.exe in > > Window's PATH. All worked well for a good while. > > > I decided to upgrade to 1.9 because I wanted look-behind in Ruby > > regexps. I unzipped ruby-1.9.0-2.zip into the same directory that > > houses 1.8.6-rc2 and adjusted the PATH to point to the 1.9 bin. When > > the ruby.exe command didn't work, a search of the 1.9 installed > > revealed the absence of that file. > > > Did I grab the wrong package for this installation, or is just one > > more of my stupid mistakes? > > > Thanks in advance for any guidance you may offer. > > > Cheers, > > Richard > > A post recently (7/28) went through Ruby List that talks about Ruby > 1.9.0-3 compiled with VC++6.. > > I am not using Windows and I don't know much more about this. > But if you are interested, there is a link at my website. > Now it is the first link at the top. > > Harry > > -- > A Look into Japanese Ruby List in Englishhttp://www.kakueki.com/ruby/list.html OK, Harry, Just to prove I did it, below is my snippet the validated the .msi. I know it's no big deal to you, but it's one more small step in the long path to Ruby/Rails mastery. I bookmarked your website so I'm sure I'll find other pearls there from time to time. Again, thanks and best wishes, Richard # ValidateMD5.rb # K:\_Projects\Ruby\_Ruby_Techniques\MD5Validataion require "md5" filename = DATA.gets.chomp md5_tgt = DATA.gets.chomp filesize = DATA.gets.chomp.gsub(/,/, "").to_i content = File.new(filename,"rb").read puts filesize puts content.size md5_result = MD5.new(content).hexdigest OK = (md5_result == md5_tgt) puts "File " + (OK ? "Valid" : "Invalid") __END__ K:\_Downloads\Ruby\Ruby-1.9.0.msi 9cc8e8a4802f840b192e63f9ee17ab49 14,262,272