<?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.2.0</title>
    <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 1.2.0</title>
      <description>&lt;h3&gt;Announce: RubyGems Release 1.2.0&lt;/h3&gt;

&lt;p&gt;Release 1.2.0 adds new features and fixes some bugs.

&lt;p&gt;New features:

&lt;ul&gt;
&lt;li&gt;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.
&lt;li&gt;RubyGems now has runtime and development dependency types.  Use &lt;code&gt;#add_development_dependency&lt;/code&gt; and &lt;code&gt;#add_runtime_dependency&lt;/code&gt;.  All typeless dependencies are considered to be runtime dependencies.
&lt;li&gt;RubyGems will now require &lt;code&gt;rubygems/defaults/operating_system.rb&lt;/code&gt; and &lt;code&gt;rubygems/defaults/#{RBX_ENGINE}.rb&lt;/code&gt; if they exist.  This allows packagers and ruby implementers to add custom behavior to RubyGems via these files.  (If the RubyGems &lt;span class="caps"&gt;API&lt;/span&gt; is insufficient, please suggest improvements via the RubyGems list.)
&lt;li&gt;&lt;code&gt;/etc/gemrc&lt;/code&gt; (and windows equivalent) for global settings
&lt;li&gt;setup.rb now handles&amp;#8212;vendor and&amp;#8212;destdir for packagers
&lt;li&gt;&lt;kbd&gt;gem stale&lt;/kbd&gt; command that lists gems by last access time
&lt;/ul&gt;

&lt;p&gt;Bugs Fixed:

&lt;ul&gt;
&lt;li&gt;File modes from gems are now honored, patch #19737
&lt;li&gt;Marshal Gem::Specification objects from the future can now be loaded.
&lt;li&gt;A trailing / is now added to remote sources when missing, bug #20134
&lt;li&gt;Gems with legacy platforms will now be correctly uninstalled, patch #19877
&lt;li&gt;&lt;kbd&gt;gem install --no-wrappers&lt;/kbd&gt; followed by &lt;kbd&gt;gem install --wrappers&lt;/kbd&gt; no longer overwrites executables
&lt;li&gt;&lt;kbd&gt;gem pristine&lt;/kbd&gt; now forces reinstallation of gems, bug #20387
&lt;li&gt;RubyGems gracefully handles ^C while loading .gemspec files from disk, bug #20523
&lt;li&gt;Paths are expanded in more places, bug #19317, bug #19896
&lt;li&gt;Gem::DependencyInstaller resets installed gems every install, bug #19444
&lt;li&gt;Gem.default_path is now honored if &lt;span class="caps"&gt;GEM&lt;/span&gt;_PATH is not set, patch #19502
&lt;/ul&gt;

&lt;p&gt;Other Changes Include:

&lt;ul&gt;
&lt;li&gt;setup.rb
  &lt;ul&gt;
  &lt;li&gt;stub files created by RubyGems 0.7.x and older are no longer removed.  When upgrading from these ancient versions, upgrade to 1.1.x first to clean up stubs.
  &lt;li&gt;RDoc is no longer required until necessary, patch #20414
  &lt;/ul&gt;
&lt;li&gt;&lt;kbd&gt;gem server&lt;/kbd&gt;
  &lt;ul&gt;
  &lt;li&gt;Now completely matches the output of &lt;kbd&gt;gem generate_index&lt;/kbd&gt; and has correct content types
  &lt;li&gt;Refreshes from source directories for every hit.  The server will no longer need to be restarted after installing gems.
  &lt;/ul&gt;
&lt;li&gt;`gem query&amp;#8212;details` and friends now display author, homepage, rubyforge url and installed location
&lt;li&gt;&lt;kbd&gt;gem install&lt;/kbd&gt; without -i no longer reinstalls dependencies if they are in &lt;span class="caps"&gt;GEM&lt;/span&gt;_PATH but not in &lt;span class="caps"&gt;GEM&lt;/span&gt;_HOME
&lt;li&gt;Gem::RemoteFetcher now performs persistent connections for &lt;span class="caps"&gt;HEAD&lt;/span&gt; requests, bug #7973
&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;Special thanks to Chad Wooley for backwards compatibility testing and Luis Lavena for continuing windows support.

&lt;h3&gt;How can I get RubyGems?&lt;/h3&gt;

&lt;p&gt;&lt;span class="caps"&gt;NOTE&lt;/span&gt;:  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;If you have a recent version of RubyGems (0.8.5 or later), then all
you need to do is:

&lt;pre&gt;&lt;kbd&gt;$ gem update --system   (you might need to be admin/root)&lt;/kbd&gt;&lt;/pre&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;If you have an older version of RubyGems installed, then you can still
do it in two steps:

&lt;pre&gt;&lt;kbd&gt;$ gem install rubygems-update  (again, might need to be admin/root)
$ update_rubygems              (... here too)&lt;/kbd&gt;&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;ol&gt;
&lt;li&gt;&lt;span class="caps"&gt;DOWNLOAD FROM&lt;/span&gt;: &lt;a href="http://rubyforge.org/frs/?group_id=126"&gt;http://rubyforge.org/frs/?group_id=126&lt;/a&gt;
&lt;li&gt;&lt;span class="caps"&gt;UNPACK INTO A DIRECTORY AND CD THERE&lt;/span&gt;
&lt;li&gt;&lt;span class="caps"&gt;INSTALL WITH&lt;/span&gt;:  ruby setup.rb  (you may need admin/root privilege)
&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;#38;group_id=126&amp;#38;atid=575"&gt;http://rubyforge.org/tracker/?func=add&amp;#38;group_id=126&amp;#38;atid=575&lt;/a&gt;

&lt;p&gt;When filing a bug, `gem env` output will be helpful in diagnosing the issue.

&lt;p&gt;If you find a bug where RubyGems crashes, please provide debug output. You can
do that with `gem&amp;#8212;debug the_command`.

&lt;h3&gt;Thanks&lt;/h3&gt;

&lt;p&gt;Keep those gems coming!

&lt;p&gt;Jim &amp;#38; Chad &amp;#38; Eric (for the RubyGems team)
</description>
      <pubDate>Sat, 21 Jun 2008 20:32:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:b094609b-3ed2-4a9f-8019-104dfd568a4d</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0</link>
      <category>Rubygems</category>
      <category>Software</category>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Joannou Ng</title>
      <description>&lt;p&gt;Thank the Lords of Kobol!&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jun 2008 11:41:14 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:1442c055-1910-462f-8e52-d97875fd27ba</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-939</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by foz</title>
      <description>&lt;p&gt;Great release &amp;#8211; RubyGems is rockin now!&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 23:11:08 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:12d34140-07ef-487e-b7b4-b9b7a8facf5f</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-938</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by topfunky</title>
      <description>&lt;p&gt;A smashing update, and much faster. Thanks!&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 19:02:51 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:d8a4d783-3769-4e89-92d2-5eed5c46e18a</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-937</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Collin VanDyck</title>
      <description>&lt;p&gt;&amp;#8220;It should reduce memory consumption for metadata updates. I don’t know if that is the entirety of the problem, but it should be a large portion of it.&amp;#8221;&lt;/p&gt;


	&lt;p&gt;Fingers crossed on that one.  I, and others I have talked with, have upgraded our slices to 512MB because of gem memory issues. Great work on the release guys!&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 05:18:28 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8d55cb8c-ea6f-4b3b-bf29-8811eb7da7c4</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-935</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Mislav</title>
      <description>&lt;p&gt;I&amp;#8217;ve been waiting for this update for a long time. It solves so much! Big thanks to Eric and others.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 17:30:25 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2cae4600-f580-4d07-b5cd-420eacb78a04</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-934</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Eric Hodel</title>
      <description>&lt;p&gt;It should reduce memory consumption for metadata updates.  I don&amp;#8217;t know if that is the entirety of the problem, but it should be a large portion of it.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 14:01:05 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:095931aa-c1be-4ea8-8139-61913d3ed93c</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-933</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Hongli Lai</title>
      <description>&lt;p&gt;Does this solve the excessive memory consumption that VPS users reported? With 1.1.1, people said that their VPS would swap to death during a gem install, even with&amp;#8212;no-rdoc&amp;#8212;no-ri.&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2008 01:14:52 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:b8be14b1-7f2a-4bde-9280-5dbc2006e9b2</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-932</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Roman Le Négrate</title>
      <description>&lt;p&gt;No-bulk-update: definitely a great improvement! Thank you so much for that. It was driving me crazy, sometimes taking minutes to install a poor, single gem. Now it&amp;#8217;s blazing fast, so congratulations on this one.&lt;/p&gt;</description>
      <pubDate>Sat, 21 Jun 2008 23:15:16 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:5da9b271-8fa1-4724-bfd7-fbfb599950f1</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-931</link>
    </item>
    <item>
      <title>"RubyGems 1.2.0" by Phil</title>
      <description>&lt;p&gt;Rock on! Thanks for the awesomeness.&lt;/p&gt;</description>
      <pubDate>Sat, 21 Jun 2008 22:13:31 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8155506c-bf53-4880-9db2-d59ac4a80cb5</guid>
      <link>http://blog.segment7.net/articles/2008/06/21/rubygems-1-2-0#comment-930</link>
    </item>
  </channel>
</rss>
