From: why the lucky stiff Date: 2003-01-23T12:44:13+09:00 Subject: Re: Can we attack the 'not enough libraries' thing straight on? Dossy (dossy@panoptic.com) wrote: > > I've been thinking (okay, dreaming) of a small snippet of Ruby code that > could turn the interactive Ruby shell (irb) into a RAA browser, much > like CPAN.pm for Perl. I imagined: > > $ irb > irb(main):001:0> require 'raa' > true why@stungun:~/cvs/yaml4r$ irb --simple-prompt >> require 'raainstall' => true > > irb(main):002:0> raa.install 'Foo::Bar' > ...fetches the Foo::Bar module from RAA... > ...installs it using setup.rb or whatever... > >> RAAInstall.install( 'yaml' ) Unarchiving yamlrb-0.49.tar.gz with gnu tar yamlrb-0.49/ yamlrb-0.49/samples/ yamlrb-0.49/samples/okayRpc-client.rb yamlrb-0.49/samples/okayRpc-server.rb yamlrb-0.49/samples/okayNews-validate.rb ...and so on.. => [#] > irb(main):002:0> raa.updates > ...displays a list of currently installed modules, their versions, and > the latest version available according to RAA... >> RAAInstall.showall => ["acl", "activeattr", "aes-rb", "aiura", ... ] So the last one isn't exactly what you requested.. so.. come on over to the raa-install list and tell us what you want! [http://lists.sourceforge.net/lists/listinfo/narf-lib-raainstall] More on the raa-install API itself at [http://www.rubygarden.org/ruby?QuickGuideToRaaInstall] _why