Accessing Rails documentation via ri when multiple versions

On my development system I have multiple versions of Rails installed
using the gem tool. The problem is that if I want to access
documentation of Rails now using ri that multiple versions of the same
class/methods are appearing and there does not seem to be a way to
select the appropriate version or set a default doc.

This is especially annoying when used in combination with Textmate’s
CTRL-H functionality. In textmate, when multiple matches are found by
ri, these matches are displayed by Textmate as links such that you
can chose the right match. Unfortunately, when these matches have
identical class/method names (because they appear in different
versions) clicking any link does nothing.

Is there a way to make this work (preferably without having to
uninstall older gem versions)?

Thank you.