Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

RubyGems 1.5.0 Released: Now Supports Ruby 1.9.2

By Peter Cooper / February 1, 2011

rubygems.pngRyan Davis has announced the release of RubyGems 1.5.0. It comes just a month after the release of 1.4 which, notoriously, didn't work with Ruby 1.9.2. These problems have now all been ironed out and Ruby 1.8 and 1.9 users alike can safely upgrade (fingers crossed).

RubyGems is the popular (and official - as of Ruby 1.9) Ruby package manager with which most significant Ruby libraries and tools are distributed. The 1.5 release sees it pick up a few bug fixes and some enhancements, including:

  • Ruby 1.9 support
  • Post-build hooks that can cancel the gem install
  • Gem.find_files is now 40% faster (on Ruby 1.9)
  • Better errors for corrupt Gem files, including paths
  • A new UPGRADING documentation file to help with Ruby 1.9-related issues
  • gem update no longer erroneously tries to update RubyGems itself by default

To upgrade to RubyGems 1.5.0, run:

gem update --system

Alternatively, you can learn more in the new UPGRADING documentation, or if you don't already have RubyGems for some reason, you can download it from

UPDATE: RubyGems 1.5.0 and Bundler are not the best of friends! If you're depending on Bundler tonight, don't install RubyGems 1.5.0 just yet. However, a 1.5 compatible version of Bundler is due within the next 24 hours. A new version of Bundler has been released, supporting RubyGems 1.5.0. Upgrade now :-)


  1. Ted McElwee says:

    Rubygems 1.5 with ruby 1.9.2p136 on osX renders the following error when I try to 'bundle install' on my rails app:

    /gems/bundler-1.0.9/lib/bundler/ui.rb:56:in `': uninitialized constant Gem::SilentUI (NameError)

  2. Michael Mc says:

    Thanks for the rubygems update. Unfortunately, after updating - bundler shows this error:

    uninitialized constant Gem::SilentUI (NameError)

    any thoughts?

  3. Sam says:

    Except bundler is currently broken...

  4. Andre Arko says:

    Unfortunately the 1.5 release makes breaking changes for Bundler. We'll try to release Bundler 1.0.10 with 1.5 compatability as soon as we possibly can -- hopefully February 1st.

  5. Kevin Sylvestre says:

    If you use bundler (and who doesn't) be careful! This update seems to break things:

    /gems/bundler-1.0.9/lib/bundler/ui.rb:56:in `': uninitialized constant Gem::SilentUI (NameError)

    Any links on how to revert back to 1.3?

  6. Jean-Baptiste Barth says:

    I'm pretty sure it's Ryan Davis, not Eric. Good news thought, waiting for bundler compatibility now :)

  7. Peter Cooper says:

    Apologies to Ryan Davis - now fixed. Thanks JBB!

    Also, thanks for the Bundler reports. This has now been confirmed and I've just seen this on IRC:

    No worries, I tracked it down and it's a Bundler thing. I fixed a couple things and submitted a PR but they say they're gonna be working on getting a full 1.5 compatible fix in by tomorrow.

    I also saw this on Twitter:

    I guess it's only fair that rubygems would break bundler after all the damage bundler has done to rubygems

  8. Peter Cooper says:

    @Kevin: I don't know if you're running RVM, but I've just found that rvm rubygems 1.3.7 reverted it OK for me (and Bundler now works). It does come up with an error when you run that command but the downgrade itself seems to work (enough for Bundler to install new things and my specs to all run at least..)

  9. Martijn says:

    How can they release this if it breaks Bundler? Someone must have noticed that. I thought Ruby was a community..

  10. Adrian Perez says:

    @Martijn: Bundler is a related, but not under-control project.

    I believe the new release of bundler -released just now- fixes the issues, as stated in the changelog. I'm about to test it.
    Comments welcome. I'll get back to you guys.

  11. Cedric says:

    Unfortunately it is still a little buggy

Other Posts to Enjoy

Twitter Mentions