Ruby – How to downgrade rubygems


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 Solution

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: