<?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.1.0</title>
    <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 1.1.0</title>
      <description>&lt;h3&gt;Announce: RubyGems Release 1.1.0&lt;/h3&gt;

&lt;p&gt;Release 1.1.0 adds some new features and fixes some bugs.&lt;/p&gt;

&lt;p&gt;New features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RubyGems now uses persistent connections on index updates. Index updates
are much faster now.&lt;/li&gt;
&lt;li&gt;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.

&lt;ul&gt;
&lt;li&gt;&lt;kbd&gt;gem list -r&lt;/kbd&gt; may only show the latest version of a gem, add --all to
see all gems.

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem spec&lt;/kbd&gt; now extracts specifications from .gem files.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem query --installed&lt;/kbd&gt; to aid automation of checking for gems.

&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Bugs Fixed:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RubyGems works with both Config and RbConfig now.

&lt;/li&gt;
&lt;li&gt;Executables are now cleaned upon uninstall.

&lt;/li&gt;
&lt;li&gt;You can now uninstall from a particular directory.

&lt;/li&gt;
&lt;li&gt;Updating from non-default sources fixed.

&lt;/li&gt;
&lt;li&gt;Executable stubs now use ruby install name in shebang.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem unpack&lt;/kbd&gt; checks every directory in Gem.path now.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem install&lt;/kbd&gt; now exits with non-zero exit code when appropriate.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem update&lt;/kbd&gt; only updates gems that need updates.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem update&lt;/kbd&gt; doesn't force remote-only updates.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem update&lt;/kbd&gt; handles dependencies properly when updating.

&lt;/li&gt;
&lt;li&gt;Gems are now loaded in Gem.path order.

&lt;/li&gt;
&lt;li&gt;Gem stub scripts on windows now work outside Gem.bindir.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem sources -r&lt;/kbd&gt; now works without network access.

&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Other Changes Include:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RubyGems now requires Ruby &amp;gt; 1.8.3.

&lt;/li&gt;
&lt;li&gt;Release notes are now printed upon installation.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem env path&lt;/kbd&gt; now prints a usable path.

&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;gem install&lt;/kbd&gt; reverts to local-only installation upon network error.

&lt;/li&gt;
&lt;li&gt;Tar handling code refactoring and cleanup.

&lt;/li&gt;
&lt;li&gt;Gem::DependencyInstaller's API has changed.

&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
For a full list of changes to RubyGems, see the ChangeLog file.
&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: 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'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, &lt;kbd&gt;gem env&lt;/kbd&gt; 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 &lt;kbd&gt;gem --debug the_command&lt;/kbd&gt;.
&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; Jim &amp;amp; Chad &amp;amp; Eric (for the RubyGems team)
&lt;/p&gt;

</description>
      <pubDate>Sat, 29 Mar 2008 01:41:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:1a6c0500-57ec-4720-b9e8-4796e5cd815c</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0</link>
      <category>Rubygems</category>
      <category>Software</category>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Justin</title>
      <description>&lt;p&gt;10.5.2&amp;#8212;the regular gem update won&amp;#8217;t do it (because of the symlink stuff above), but if you use the old version method (like Jesse &amp;#8211; first comment) it will work.&lt;/p&gt;


	&lt;p&gt;To make sure it worked type &amp;#8216;gem&amp;#8212;version&amp;#8217;. You should see &amp;#8216;1.1.0&amp;#8217;. If it didn&amp;#8217;t work, try installing it the normal way and then the old version way again. :)&lt;/p&gt;</description>
      <pubDate>Thu, 10 Apr 2008 17:42:27 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:eafd06d4-fcf3-4fc1-90bd-ed685917a7c0</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-903</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by jt</title>
      <description>&lt;p&gt;Done. Thanks, Eric.&lt;/p&gt;</description>
      <pubDate>Fri, 04 Apr 2008 13:31:02 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:865e4480-fd25-4bfa-a64d-94715ca061c3</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-902</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Eric Hodel</title>
      <description>&lt;p&gt;@jt:  See my message above about why it can&amp;#8217;t find the release notes.  If you open a bug report as described above, I can help you with your other problem.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Apr 2008 17:51:24 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:fee1b34e-de1f-4175-a496-600c1b1dfeed</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-901</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by jt</title>
      <description>&lt;p&gt;Oh-no! Unable to find release notes in:
    doc/release_notes/rel_1_1_0.rdoc
-
RubyGems installed the following executables:
    /usr/bin/gem
-
If `gem` was installed by a previous RubyGems installation, you may need
to remove it by hand.&lt;/p&gt;


	&lt;p&gt;Doesn&amp;#8217;t seem to work for CentOS 5. Complains about the release notes, says it has installed an executable, and that if a previous version existed it may need to &amp;#8220;be removed by hand&amp;#8221; (how?).&lt;/p&gt;


	&lt;p&gt;Anything done with /usr/bin/gem reports:
/usr/bin/gem:14: undefined method `ruby_version&amp;#8217; for Gem:Module (NoMethodError)&lt;/p&gt;</description>
      <pubDate>Thu, 03 Apr 2008 16:58:48 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:0e8967dd-322b-4c2e-b18d-97d308db8357</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-900</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Sebastian Winkler</title>
      <description>&lt;p&gt;Actually, updating again using the ‘older version’ approach updated System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem and the error disappeared.&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 03:23:42 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:459a3eef-1853-4649-af72-1a1ce829e45c</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-899</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Sebastian Winkler</title>
      <description>&lt;p&gt;I got the same result as Jan did.&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 03:02:06 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:cf935ad9-c25f-4ad9-835e-cc4d68fb5d5c</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-898</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Jan</title>
      <description>&lt;p&gt;Installing via update&amp;#8212;system did not work for me on 10.5.2 .&lt;/p&gt;


	&lt;p&gt;That installs a new executable in System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/bin/gem&lt;/p&gt;


	&lt;p&gt;/usr/bin/gem is a symlink pointing to System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem&lt;/p&gt;


	&lt;p&gt;Manually changing the link did not work:
jan@jan-mbp:/usr/bin $ sudo ln -s ../../System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/bin/gem 
jan@jan-mbp:/usr/bin $ gem&amp;#8212;version
/usr/bin/gem:14: undefined method `ruby_version&amp;#8217; for Gem:Module (NoMethodError)&lt;/p&gt;</description>
      <pubDate>Sun, 30 Mar 2008 01:27:31 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:55858fa0-48ac-464e-b2fb-3ab5fe0b1e39</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-896</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Eric Hodel</title>
      <description>&lt;p&gt;@Jesse:  I didn&amp;#8217;t check to see if the release notes got shipped, oops!  You&amp;#8217;ll have to wait until the next release of RubyGems.&lt;/p&gt;</description>
      <pubDate>Sat, 29 Mar 2008 13:31:15 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:09dfcbb8-e334-43fe-bafc-089f1d9f0cf3</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-892</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Jan Foeh</title>
      <description>&lt;p&gt;Worked fine for me (10.5.2), apart from a&lt;/p&gt;


&lt;pre&gt;Oh-no! Unable to find release notes&lt;/pre&gt;

	&lt;p&gt;error message at the end.&lt;/p&gt;</description>
      <pubDate>Sat, 29 Mar 2008 12:28:40 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2f14bf4c-fdfc-4335-a913-5929ce38b24f</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-891</link>
    </item>
    <item>
      <title>"RubyGems 1.1.0" by Jesse Newland</title>
      <description>&lt;p&gt;I had to take the &lt;em&gt;&amp;#8216;older version&amp;#8217;&lt;/em&gt; approach to successfully upgrade from 1.0.1 on Leopard (10.5.2):&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;$ sudo gem install rubygems-update
$ sudo update_rubygems&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Sat, 29 Mar 2008 08:10:25 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:46f7ab49-e270-4bd8-9cf8-de778e0db525</guid>
      <link>http://blog.segment7.net/articles/2008/03/29/rubygems-1-1-0#comment-890</link>
    </item>
  </channel>
</rss>
