<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: RubyGems 1.3.2</title>
    <link>http://blog.segment7.net/articles/2009/04/15/rubygems-1-3-2</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 1.3.2</title>
      <description>&lt;p&gt;
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 &amp;#8220;Nothing to update&amp;#8221;.
&lt;/p&gt;
&lt;p&gt;
Release 1.3.2 fixes some bugs and adds some features.
&lt;/p&gt;
&lt;p&gt;
Select New Features:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RubyGems now loads plugins from rubygems_plugin.rb in installed gems. This
can be used to add commands (See Gem::CommandManager) or add
install/uninstall hooks (See Gem::Installer and Gem::Uninstaller).

&lt;/li&gt;
&lt;li&gt;Gem::Version now understands prerelease versions using letters. (eg.
&amp;#8216;1.2.1.b&amp;#8217;) Thanks to Josh Susser, Alex Vollmer and Phil
Hagelberg.

&lt;/li&gt;
&lt;li&gt;RubyGems now includes a Rake task for creating gems which replaces
rake&amp;#8217;s Rake::GemPackageTask. See Gem::PackageTask.

&lt;/li&gt;
&lt;li&gt;Gem::find_files now returns paths in $LOAD_PATH.

&lt;/li&gt;
&lt;li&gt;Added Gem::promote_load_path for use with Gem::find_files

&lt;/li&gt;
&lt;li&gt;Added Gem::bin_path to make finding executables easier. Patch #24114 by
James Tucker.

&lt;/li&gt;
&lt;li&gt;Various improvements to build arguments for installing gems.

&lt;/li&gt;
&lt;li&gt;`gem contents` added --all and --no-prefix.

&lt;/li&gt;
&lt;li&gt;Gem::Specification

&lt;ul&gt;
&lt;li&gt;#validate strips directories and errors on not-files.

&lt;/li&gt;
&lt;li&gt;#description no longer removes newlines.

&lt;/li&gt;
&lt;li&gt;#name must be a String.

&lt;/li&gt;
&lt;li&gt;FIXME and TODO are no longer allowed in various fields.

&lt;/li&gt;
&lt;li&gt;Added support for a license attribute. Feature #11041 (partial).

&lt;/li&gt;
&lt;li&gt;Removed Gem::Specification::list, too much process growth. Bug #23668 by
Steve Purcell.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;`gem generate_index`

&lt;ul&gt;
&lt;li&gt;Can now generate an RSS feed.

&lt;/li&gt;
&lt;li&gt;Modern indicies can now be updated incrementally.

&lt;/li&gt;
&lt;li&gt;Legacy indicies can be updated separately from modern.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Select Bugs Fixed:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Better gem activation error message. Patch #23082.

&lt;/li&gt;
&lt;li&gt;Kernel methods are now private. Patch #20801 by James M. Lawrence.

&lt;/li&gt;
&lt;li&gt;Fixed various usability issues with `gem check`.

&lt;/li&gt;
&lt;li&gt;`gem update` now rescues InstallError and continues. Bug #19268 by Gabriel
Wilkins.

&lt;/li&gt;
&lt;li&gt;Allow &amp;#8216;https&amp;#8217;, &amp;#8216;file&amp;#8217; as a valid schemes for
--source. Patch #22485.

&lt;/li&gt;
&lt;li&gt;`gem install`

&lt;ul&gt;
&lt;li&gt;Now removes existing path before installing. Bug #22837.

&lt;/li&gt;
&lt;li&gt;Uses Gem::bin_path in executable stubs to work around Kernel#load bug in
1.9.

&lt;/li&gt;
&lt;li&gt;Correctly handle build args (after --) via the API. Bug #23210.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;--user-install

&lt;ul&gt;
&lt;li&gt;`gem install --no-user-install` now works. Patch #23573 by Alf Mikula.

&lt;/li&gt;
&lt;li&gt;`gem uninstall` can now uninstall from ~/.gem. Bug #23760 by Roger Pack.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;setup.rb

&lt;ul&gt;
&lt;li&gt;Clarify RubyGems RDoc installation location. Bug #22656 by Gian Marco
Gherardi.

&lt;/li&gt;
&lt;li&gt;Allow setup to run from read-only location. Patch #21862 by Luis Herrera.

&lt;/li&gt;
&lt;li&gt;Fixed overwriting ruby executable when BASERUBY was not set. Bug #24958 by
Michael Soulier.

&lt;/li&gt;
&lt;li&gt;Ensure we&amp;#8217;re in a RubyGems dir when installing.

&lt;/li&gt;
&lt;li&gt;Deal with extraneous quotation mark when autogenerating .bat file on MS
Windows. Bug #22712.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Deprecation Notices:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gem::manage_gems has been removed.

&lt;/li&gt;
&lt;li&gt;Time::today will be removed in RubyGems 1.4.

&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
For a full list of changes to RubyGems and the contributor for each change,
see the ChangeLog file.
&lt;/p&gt;
&lt;p&gt;
Special thanks to Chad Wooley for backwards compatibility testing and Luis
Lavena and Daniel Berger for continuing windows support.
&lt;/p&gt;
&lt;h3&gt;How can I get RubyGems?&lt;/h3&gt;
&lt;p&gt;
NOTE: If you have installed RubyGems using a package system you may want to
install a new RubyGems through the same packaging system.
&lt;/p&gt;
&lt;p&gt;
If you have a recent version of RubyGems (0.8.5 or later), then all you
need to do is:
&lt;/p&gt;
&lt;pre&gt;
  $ gem update --system   (you might need to be admin/root)
&lt;/pre&gt;
&lt;p&gt;
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 &amp;#8220;Nothing to update&amp;#8221;.
&lt;/p&gt;
&lt;p&gt;
NOTE: You may have to run the command twice if you have any previosly
installed rubygems-update gems.
&lt;/p&gt;
&lt;p&gt;
If you have an older version of RubyGems installed, then you can still do
it in two steps:
&lt;/p&gt;
&lt;pre&gt;
  $ gem install rubygems-update  (again, might need to be admin/root)
  $ update_rubygems              (... here too)
&lt;/pre&gt;
&lt;p&gt;
If you don&amp;#8217;t have any gems install, there is still the pre-gem
approach to getting software &amp;#8230; doing it manually:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;DOWNLOAD FROM: &lt;a
href="http://rubyforge.org/frs/?group_id=126"&gt;rubyforge.org/frs/?group_id=126&lt;/a&gt;

&lt;/li&gt;
&lt;li&gt;UNPACK INTO A DIRECTORY AND CD THERE

&lt;/li&gt;
&lt;li&gt;INSTALL WITH: ruby setup.rb (you may need admin/root privilege)

&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;To File Bugs&lt;/h3&gt;
&lt;p&gt;
The RubyGems bug tracker can be found on RubyForge at: &lt;a
href="http://rubyforge.org/tracker/?func=add&amp;group_id=126&amp;atid=575"&gt;rubyforge.org/tracker/?func=add&amp;group_id=126&amp;atid=575&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
When filing a bug, `gem env` output will be helpful in diagnosing the
issue.
&lt;/p&gt;
&lt;p&gt;
If you find a bug where RubyGems crashes, please provide debug output. You
can do that with `gem --debug the_command`.
&lt;/p&gt;
&lt;h3&gt;Thanks&lt;/h3&gt;
&lt;p&gt;
Keep those gems coming!
&lt;/p&gt;
&lt;p&gt;
&amp;#8212; The RubyGems team
&lt;/p&gt;

&lt;p&gt;PS: This blog post brought to you by rdoc --pipe&lt;/p&gt;

</description>
      <pubDate>Wed, 15 Apr 2009 14:48:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:a2df2a55-c549-4452-9598-136ccb9b81b7</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2009/04/15/rubygems-1-3-2</link>
      <category>Ruby</category>
      <category>Rubygems</category>
      <category>Software</category>
    </item>
  </channel>
</rss>
