[Rubygems-developers] Thoughts on integrating ri and rubygems
gsinclair at soyabean.com.au
Sun Mar 28 00:05:16 EST 2004
I don't know if you've had previous discussions on this topic. Here
are my thoughts.
If a person has 100 gems installed, and all of them are in a global
'ri' data area, then ri is likely to be very slow for several of its
operations. It's also against the rubygems policy to install things
in a shared area except in special cases.
Given a gem 'copland', then, we might expect rubygems to install its
ri data in
The trick, then, is for ri to know where to find these bits of ri
data. ri should provide the following features:
ri --gem copland # Show all classes in that gem
ri --gem copland Builder
ri --gem copland build
etc. # Run normal ri queries, but only on
# that gem
That requires a pretty straightforward modification to ri.
What remains to be seen, though, is whether ri and gems can work
together in an unfettered way, with ri making use of *all* of the
available ri data at once.
What do you think?
More information about the Rubygems-developers