-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Let me introduce a library that overrides Kernel.require and requires files from gem repository like rubygems. http://dev.ctor.org/vtr * just loads feature from gem repository. you can use methods Kernel.require and Kernel.gem. should have a lighter footprint than rubygems but not benchmarked yet. * no gem command. use rubygems to maintain gem repository. * UNTESTED! Download: http://dev.ctor.org/vtr/browser/trunk/lib/gemloader.rb?format=raw I wrote gemloader.rb just for a proof of concept and tested only for my restricted usage. Let me know if it works or not for you if you are interested in it. Thanks in advance. At the last, I have some questions about rubygems. 1. can rubygems/requirement.rb and rubygems/version.rb be free from require 'rubygems'? 2. Kernel.require of rubygems tries to reload the original feature when the original require failed. not failed feature but the original, is this intended? 3. the dependency resolution of rubygems should be depth first search (the latest has a priority) with no backtrack I think. is this a specification? Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iQEVAwUBRxomKB9L2jg5EEGlAQL8HAgAlDpbWb9mFFdNHe6GQUKj2YGYZ6p0Ih9o F6RV0jpqMi13qj0GgKaci6PHGfWEP9ggswXTjtGbJV0dz9lbgWeHE4Gjhq9+345y YYX0klSEWVjinvAeI0Ujcb5PrCw/8fYTouL3GeRVDnA7t2fXHVM34pcZvU5RPlXr wgDQztGMZ7fkn6wbJsAOTiBAQVeK75yahJj6miy1fF9yokEFj5nmmK3MyFv2PuZX MkMT7lzXMkY0BCjZQRtVRBY5iAEW1qD5cgWehZEodgFop6/S0W6Ncvtf6JQjY5/z VBVo7ri3AG6B7UMCTlJtQnxGuiMliIiMMstYM2V3MNgrAyecvT4PsQ== =tyLN -----END PGP SIGNATURE----- _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
