From: Walton Hoops Date: 2011-06-11T02:15:32+09:00 Subject: Re: BARRIER - require "rubygems" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/10/2011 10:35 AM, Luis Lavena wrote: > Please note that you mentioned "One-Click Installer" but also > mentioned 1.9.2 > > RubyInstaller do not associate with .rb and .rbw files by default, you > need to check these options. > > If you had a previous "One-Click Installer" (1.8.6 or older) and that > was associated with .rb files, that could explain why you needed > require "rubygems". That would be my guess as well. If you installed 1.8.6 from the (now discontinued) one click installer, and later installed 1.9.2 via Ruby Installer, by default it didn't associate the *.rb files with the new installation, so when you ran from the command line you were using 1.9.2 as intended, but double clicking the file ran it on 1.8.6. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN8lExAAoJELvwGgGC0IsyCywH/37DoakVro2Yd2msF6b2a2L1 a+tnnPVcNXemV74gtwo9uVlPfLJ8mUNdopgfYLg+kdIBC6xpxcIUYy/iCb/wm+C+ Qn8zaC+R7RGmVCw/9Pw5tYJ4E/GXPCb/jdnW0NORMrDqUHeoai8cXfI8HY9wPK8F N5RwVCY+eWboH1DnJ6GFIm5ECZg565gjBEuz2APH1bVuOc9sUW74I8ynWx1G0Jha L46c9FEfFCmJy5muknZ+Hcs08newoYUAIELt/4W2yRtxtRxrAfUFfXBdtJ/5POdk dseOEm/Q3o6p2SePjkAuQb59g2/5ZtLGfVZ1daIH6bBevaUiGeR4YGen7gVf7o8= =E18s -----END PGP SIGNATURE-----