BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

RubyGems: 1.1.0 released, now works on Rubinius

| by Werner Schuster on Mar 30, 2008. Estimated reading time: 1 minute |
Eric Hodel, maintainer of RubyGems, announced the release of RubyGems 1.1.0. (For a discussion of RubyGems past, present and future, see InfoQ's interview with Eric Hodel at RubyConf 2007).

The new features:
  • RubyGems now uses persistent connections on index updates. Index updates are much faster now.
  • RubyGems only updates from a latest index by default, cutting candidate gems for updates to roughly 1/4 (at present). Index updates are even faster still.
    • gem list -r may only show the latest version of a gem, add --all to see all gems.
  • gem spec now extracts specifications from .gem files.
  • gem query --installed to aid automation of checking for gems.

For the full list of changes refer to the 1.1.0 ChangeLog file.

The quickest way to update (from the release notes):
gem update --system   (you might need to be admin/root) 
NOTE: if you're on an old RubyGems (before 0.8.5), Eric recommends this:
gem install rubygems-update  (again, might need to be admin/root)
update_rubygems (... here too)
or simply fall back to download the RubyGems 1.1.0 release from RubyForge, unpack the archive, go to the created directory and do:
ruby setup.rb (you may need admin/root privilege) 

In similar news, as Eric's on the Rubinius team employed by EngineYard, he's been working on getting Rubinius to run RubyGems as well. These efforts seem to have progressed very far, as Michael Klishin reports that installing Rails via RubyGems works on Rubinius, following Eric's announcement of Gems' inclusion into Rubinius:
Lincoln Stoll helped me shake the last bugs out of RubyGems, so we integrated it into Rubinius. We decided to make it a subcommand rbx gem like rbx compile or rbx describe. There are still a few things broken in RubyGems, namely installing gems with extensions because mkmf.rb doesn’t work in Rubinius.

Lincoln also pointed out and gave me patches for a few backwards-compatibility problems with RDoc, so now both RubyGems and RDoc work on Rubinius.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT