Monday, November 24, 2008

Tips: Update your rubygems (with special case)

The most suggested updating technique is
$ sudo gem update --system


But this technique may not work with rubygems version 1.1 and 1.2. run
$gem -v

to know your rubygems version.

For those having these two versions, install rubygems-update gem and then run update_rubygems command (as sudo if necessary)

$ sudo gem install rubygems-update
$ sudo update_rubygems

No comments: