Downgrading rubygems

When I did a gem -v, it showed me the version as 1.0.1. I want to
downgrade this to version 0.9.0. How can I do this?
Thanks a lot

If don’t mind me asking, is there a specific reason to downgrade
Not sure if there is failproof way of downgrading rubygems. If downgrade
rubygems, you current gems might stop working.

You can manually overwrite the current gem installation tho’

Download rubygems 0.9.0

tar -xvf rubygems-0.9.0.tgz
cd rubygems
sudo ruby setup.rb

Leopard:rubygems-0.9.0 gg$ gem env
Rubygems Environment:

  • VERSION: 0.9.0 (0.9.0)
    • /Library/Ruby/Gems

Ganesh G.
SageWork( Simplify IT

On Fri, Jul 25, 2008 at 2:37 PM, Swamy G.
[email protected]

Did this technique work? After trying to move from 1.0.1 to 0.9.4 the
gem list command gave weird results. I would install gems using the
new 0.9.4 version (so I think) but ‘gem list’ does not show the newly
installed gems.

On Jul 27, 11:16 pm, Swamy G. [email protected]

The code that i’m working on uses the ‘require_gem’ method to load gems.
But since this method has been deprecated since 0.9.1 , the code throws
an error wherever ‘require_gem’ is used. I dont want to change the code,
so thats why I wanted to downgrade rubygem.
Thanks for your reply.