From: Marc Heiler Date: 2009-06-05T07:53:41+09:00 Subject: Re: why is require 'rubygems' sometimes needed? > If not, then you can make your code one line shorter. As trivial as it may sound, but this extra line in my code was one reason I did not use rubygems. I really did not want to specifically require rubygems, just to require _another_ library. Let's go back in time, and think about a ruby version which did not have yaml inbuilt, but rubygems existed already (yes, yes, this is speculative...) One would always have to do: require 'rubygems' require 'yaml' Before using yaml datasets. To me this means a bit of extra work, and I found it much easier to just omit the first line. I am glad that ruby 1.9.x changed this behaviour (for the better). -- Posted via http://www.ruby-forum.com/.