InfoQ

News

RubyGems: 1.1.0 released, now works on Rubinius

Posted by Werner Schuster on Mar 30, 2008 09:10 PM

Community
Ruby
Topics
Dynamic Languages,
Deployment / Datacenter
Tags
RubyGems,
Rubinius,
Open Source Project Releases
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.

No comments

Reply

Exclusive Content

Rob Windsor on WCF with REST, JSON and RSS

WCF is not just for SOAP based services and can be used with popular protocols like RSS, REST and JSON. Join Rob Windsor as he introduces WCF 3.5 and its new native support for non-SOAP services.

Christophe Coenraets Discusses Flex 3, AIR, and BlazeDS

Christophe Coenraets discusses Flex 3, Flex Builder, AIR, BlazeDS, Adobe and open source, integrating Flex with existing applications, and integrating RIAs with search engines and browsers.

Debunking Common Refactoring Misconceptions

Danijel Arsenovski attempts to dispel some of the myths around refactoring and how it applies to .NET developers.

REST Eye for the SOA Guy

In this presentation, recorded at QCon San Francisco, CORBA guru Steve Vinoski explains REST from the view of someone who comes to SOA from a traditional, RPC-oriented background.

Choose Feature Teams over Component Teams for Agility

Feature teams are key to scaling agility for large teams. In an excerpt from "Scaling Lean and Agile Development," Larman & Vodde show how feature teams resolve traditional problems & raise new issues

Billy Newport explains Virtualization

Billy Newport talks about virtualization, eXtreme Transaction Processing (XTP) and WebSphere Virtual Enterprise. He discusses hardware, hypervisor, JVM, application and data virtualization.

Virtualization and Security

While virtualization provides many benefits, security can not be a forgotten concept in its application.

Introduction to Agile for Traditional Project Managers

This session is specifically aimed at traditionally trained project managers who are new to Agile, and who would like to be able to relate the PMI's best practices to their Agile equivalents.