This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: RubyGems 1.3.3
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no
rubygems-update installed. You will need to follow the second set of update
instructions if you see “Nothing to update”.
Release 1.3.3 fixes some bugs and adds some features.
New Features:
`gem server` allows port names (from /etc/services) with —port.
`gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir
Dobriakov.
`gem spec` can retrieve single fields from a spec (like `gem spec rake
authors`).
Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true)
Uninstall executables from the correct directory. Bug #25555 by Brett
Eisenberg.
Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug
reported by Alf Mikula.
Deprecation Notices:
Gem::manage_gems has been removed.
Time::today has been removed early. There was no way to make it warn and be
easy to override with user code.
For a full list of changes to RubyGems and the contributor for each change,
see the ChangeLog file.
How can I get RubyGems?
NOTE: If you have installed RubyGems using a package system you may want to
install a new RubyGems through the same packaging system.
If you have a recent version of RubyGems (0.8.5 or later), then all you
need to do is:
$ gem update --system (you might need to be admin/root)
NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no
rubygems-update installed. You will need to follow the second set of update
instructions if you see “Nothing to update”.
NOTE: You may have to run the command twice if you have any previosly
installed rubygems-update gems.
If you have an older version of RubyGems installed, then you can still do
it in two steps:
$ gem install rubygems-update (again, might need to be admin/root)
$ update_rubygems (... here too)
If you don’t have any gems install, there is still the pre-gem
approach to getting software … doing it manually: