From: James Tucker Date: 2010-09-16T23:49:31+09:00 Subject: [ruby-core:32434] Re: Can we convert the standard library to gems? On 16 Sep 2010, at 06:40, Marcus Rueckert wrote: > On 2010-09-16 16:05:25 +0900, Ryan Davis wrote: >> On Sep 15, 2010, at 10:35 , Marcus Rueckert wrote: >> >>> and how do you solve the requires part of my posting? >> >> A gem dependency on the required gem will work just fine. > > how does my script find out which version was shipped with the distro? > you didnt read the referenced posting. Dir['dist/*.gem'].map { |f| f =~ %r{/([^/]+)-([\d\.]+[a-zA-Z]*)\.gem/}; [$1, $2] } :-/ A manifest might be wise then.