From: coolesting Date: 2011-11-05T23:58:39+09:00 Subject: Re: Are there two kinds of 'require' ? 1.Actually, a ruby library is a ruby file, the require method will checks the file with the .rb suffix, and the path of the file. the path of the require file maybe in current directory, or rubygems directory. 2.The ruby interpreter(>1.9.2) includes the rubygems lib, so you not really need to require it. hope this helps. 2011/11/5 Steve Klabnik : > And the reason that the current directory isn't in the $LOAD_PATH > (also known as $:) anymore is due to security: > http://www.faqs.org/faqs/unix-faq/faq/part2/section-13.html > > This is why require_relative is preferable to 'require "./foo"' or > '$:.unshift(".")` > >