From: Paul Brannan Date: 2007-05-09T00:28:40+09:00 Subject: Re: Gem-only releases On Tue, May 08, 2007 at 06:27:56AM +0900, darren kirby wrote: > begin > require 'rubygems' > rescue LoadError > end export RUBYOPT=rubygems (this works for most cases; where it doesn't work is in specifying a file to require on the command line with -r) > so that it may work for both. I plain and simple don't understand why > the "require 'rubygems'" is required (pardon the pun), to make gem installed > libs visable to Ruby. > > Now really, I'm just a dilatant in this whole software development biz and > realize the core Ruby hackers are a lot smarter than me, so I am sure there > is a sound technical reason for it or it wouldn't be. That said, I would sure > love to hear a rational for it... Rubygems used to use library stubs for transparency. Perhaps one of the active Rubygems developers can better explain why they were removed. Paul