-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Good to hear your opinion. We ML people heard that you 4 guys 'decided' that RubyGems would be imported into trunk, but without require 'rubygems' by default, without any reason why. [ruby-core:12712] Tanaka Akira wrote: > In article <4710890A.3020009 / sarion.co.jp>, > "NAKAMURA, Hiroshi" <nakahiro / sarion.co.jp> writes: > >> Matz, ko1 and akr, do you think that (c) includes gem version control, >> for example 'gem "soap4r", "1.5.5"' ? Need to confirm the requirement >> of core team first. > > I don't expect version control by default. It's the feature > of RubyGems, not Ruby itself. All: That's what I should accually write in 1-1-2 in [ruby-core:12691]. (Thanks for translating, Leo!) > I expect "require" loads installed libraries which may be > gem or not. > > I think the tiny library is easily implementable. > > I wrote simple patch to prelude.rb. Maybe it can be > refined, it works well. To decide what directories should be added to $LOAD_PATH, we need to check Gem::Specifications in specification directory. ruby-debug gem defines 'cli' directory as a requrie_path for example. Here's an implementation what should be done by 'gem load only' gem handler. http://dev.ctor.org/vtr It supports version control but it should be removable easily. Matz, akr, and ko1, you wamt to just include Kernel.require of rubygems and no Kernel.gem and version control, right? What is different from just installing files to site_ruby dir then by rpm or deb? What is the point you want to include from rubygems? Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iQEVAwUBRxhwjB9L2jg5EEGlAQI7Vwf/Tw4e4mA/m4yltzY6Oxsd9u8C6YzU6zY4 QDpwYnTi1nel00cMirEGsOJTkW5uf9Pc46kOho056wCeh/lP8sr660B+iQfYivH8 xQuC2Db9kEgSpMTCsFK/tjk7SpYr7LI0Rr9v89eew7S47mhrCx06m8xTyz3g2+DJ jsVU8jCMBEmybY1rrrr/o2rpqrvOt8jLykHfryB5m1gQ5ZSKRrb1vCbhBJ2NXn+v NN3JwdTcAIeD+2yJo7tNEsCDtHgLBujoc0K3GDuw7Sy/AQal5vM6vWqwls+RwVSk g8nH8rggLSUXM1n6rRQ2zN0PCN8kUkkVQLmZiU673hwaJ8Sbsbe1HQ== =Uji4 -----END PGP SIGNATURE-----