From: James Britt Date: 2006-01-28T07:43:53+09:00 Subject: Re: Incorporating gem documentation into ri John Wells wrote: > Guys, > > I'd like to incorporation the various gem rdocs into ri, so that I am > not forced to use gem_server to view the documentation. I've found old > posts on this subject but nothing conclusive. Surely there is a way to > do this? > > Any help you can provide is _greatly_ appreciated. I believe you can run rdoc -r ... over the gem's source code, and it will add the docs to your ri data set. Warning: If the gem code defines methods on core classes then your base ri data source could get munged. Ri is not really designed for arbitrary additions. (I hope I'm wrong about this, but my last experience was running rdoc -r over the standard lib source, and ending up with broken core docs because some code had added or redefined methods in Array, String, and so on.) -- James Britt "Blanket statements are over-rated"