[Rubygems-developers] [Fwd: Re: R: rubygems undefined
method'loaded_from=' for nil::NilClass]
Jim Weirich
jim at weirichhouse.org
Wed Jul 14 11:24:05 EDT 2004
>> # One question ... Why are the gemspecs in the specification directory
>> # stored as ruby source. I would have thought that YAML would be a more
>> # appropriate choice in this area. Is it worth changing?
Richard Kilmer said:
> They are stored as Ruby source so that a runtime user of RubyGems does not
> need to load YAML in order to use libraries. If they are YAML, you have
> to load it and the native SYCK parser. That is a lot to ask of someone
> who just wants to load libraries...that is the thinking anyway.
Ok, That make sense. When I get time, I'm going to add some code so that
messed up gem files won't cause the entire gem command to fail.
--
-- Jim Weirich jim at weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
More information about the Rubygems-developers
mailing list