Fix Ruby Gems Not Updating
I was trying to gem update
but it was saying 'everything is up-to-date'. Nothing was happening. I could tell from rubygems.org that there were new versions available, and even a new version of rubygems itself. Here's what I had to do:
$ wget http://production.cf.rubygems.org/rubygems/rubygems-update-2.1.8.gem
$ gem install rubygems-update-2.1.8.gem
$ update_rubygems
$ gem --version
2.1.8
Hat tip to trevor here: https://github.com/rubygems/rubygems/issues/515
Note: if you are using RVM, this may be easier.
Written by Ivan Storck
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#