Rubygems 1.2 Released. 1
Slicehost or VPS users with small size slices (everything below 512MB) might have noticed lately that downloading a gem from Rubygems has been impossible since the index file has growing steady for some time and now it’s huge! You can check it out by yourself here.
The new Rubygems version (1.2) was finally released yesterday, fixing this issue and adding some nice new stuff. Two interesting bits from the Changelog:
- RubyGems no longer performs bulk updates and instead only fetches the gemspec files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to allow RubyGems to take advantage of the new metadata updater. If a pre 1.2 remote source is in the sources list, RubyGems will revert to the bulk update code for compatibility.
- RubyGems now has runtime and development dependency types. Use #add_development_dependency and #addruntimedependency. All typeless dependencies are considered to be runtime dependencies.
Also, as a plus, remember you can add new sources (repositories), for example, GitHub:
$ gem sources -a http://gems.github.com
To download the gems from the new repository just use their naming scheme (user-project):
$ gem install rubyspec-mspec