From: Kyle Schmitt Date: 2008-08-19T22:07:56+09:00 Subject: Re: require not working on server On Mon, Aug 18, 2008 at 5:45 PM, Jeff Pritchard wrote: > Jeff Pritchard wrote: > Even if you don't have an idea to share, can somebody fill me in on how > rubygems "works"? > Does the "require 'rubygems'" bring in some code that effectively > replaces the ruby 'require'? Well, more or less, I don't know. But I know _some_ of it. When you go back to 1.8.5, you needed to require 'rubygems' #before you required a gem require 'camping' I think (for ready-made gems) mostly what it does is add path information, but it also sets up logic to crawl the dependencies of a gem, so it can load the libraries the gem requires, IFF they happen to also be gems. I'm pretty sure when 1.8.6 came out, however, you no longer needed to require rubygems. You could just: require 'camping' --Kyle