Ruby – How to downgrade rubygems

rubyrubygems

I have rubygems 1.3.1 installed but I want to go back to 1.2.0. What's the command to downgrade rubygems?

Best Answer

This worked for me when downgrading from 1.5.2 to 1.4.2 because of old rails version:

sudo gem update --system 1.4.2

More information about downgrading/upgrading rubygems: https://github.com/rubygems/rubygems/blob/master/UPGRADING.md