<?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.0</title>
    <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 1.3.0</title>
      <description>&lt;p&gt;Release 1.3.0 adds new features and fixes some bugs.&lt;/p&gt;

&lt;p&gt;Note!  Some versions of RubyGems have a bug that will prevent automatic updates. If RubyGems says it has nothing to update, run:&lt;/p&gt;

&lt;pre&gt;&lt;kbd&gt;gem install rubygems-update
update_rubygems&lt;/kbd&gt;&lt;/pre&gt;

&lt;p&gt;New features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if stdout is not a TTY, except with --both.&lt;/li&gt;
&lt;li&gt;Added Gem.find_files, allows a gem to discover features provided by other gems.&lt;/li&gt;
&lt;li&gt;Added pre/post (un)install hooks for packagers of RubyGems.  (Not for gem  themselves).&lt;/li&gt;
&lt;li&gt;RubyGems now installs gems into ~/.gem if GEM_HOME is not writable.  Use --no-user-install command-line switch to disable this behavior.&lt;/li&gt;
&lt;li&gt;Fetching specs for update now uses If-Modified-Since requests.&lt;/li&gt;
&lt;li&gt;RubyGems now updates the ri cache when the rdoc gem is installed and documentation is generated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Deprecation Notices:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Gem::manage_gems now warns when called.  It will be removed on or after March 2009.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;Bugs Fixed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RubyGems 1.3.0+ now updates when no previous rubygems-update is installed.  Bug #20775 by Hemant Kumar.&lt;/li&gt;
&lt;li&gt;RubyGems now uses the regexp we already have for `gem list --installed`.  Bug #20876 by Nick Hoffman.&lt;/li&gt;
&lt;li&gt;Platform is now forced to Gem::Platform::RUBY when nil or blank in the indexer.  Fixes various uninstallable gems.&lt;/li&gt;
&lt;li&gt;Handle EINVAL on seek.  Based on patch in bug #20791 by Neil Wilson.&lt;/li&gt;
&lt;li&gt;Fix HTTPS support.  Patch #21072 by Alex Arnell.&lt;/li&gt;
&lt;li&gt;RubyGems now loads all cache files even if latest has been loaded.  Bug #20776 by Uwe Kubosch.&lt;/li&gt;
&lt;li&gt;RubyGems checks for support of development dependencies for #to_ruby.  Bug #20778 by Evan Weaver.&lt;/li&gt;
&lt;li&gt;Now specifications from the future can be loaded.&lt;/li&gt;
&lt;li&gt;Binary script uninstallation fixed.  Bug #21234 by Neil Wilson.&lt;/li&gt;
&lt;li&gt;Uninstallation with -i fixed.  Bug #20812 by John Clayton.&lt;/li&gt;
&lt;li&gt;Gem::Uninstaller#remove_all now calls Gem::Uninstaller#uninstall_gem so hooks get called.  Bug #21242 by Neil Wilson.&lt;/li&gt;
&lt;li&gt;Gem.ruby now properly escaped on windows.  Fixes problem with extension compilation.&lt;/li&gt;
&lt;li&gt;`gem lock --strict` works again.  Patch #21814 by Sven Engelhardt.&lt;/li&gt;
&lt;li&gt;Platform detection for Solaris was improved.  Patch #21911 by Bob Remeika.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other Changes Include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;`gem help install` now describes _version_ argument to executable stubs&lt;/li&gt;
&lt;li&gt;`gem help environment` describes environment variables and ~/.gemrc and /etc/gemrc&lt;/li&gt;
&lt;li&gt;On-disk gemspecs are now read in UTF-8 and written with a UTF-8 magic comment&lt;/li&gt;
&lt;li&gt;Rakefile&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;If the SETUP_OPTIONS environment variable is set, pass its contents as arguments to setup.rb&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;lib/rubygems/platform.rb&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;Remove deprecated constant warnings and really deprecate them.  (WIN32, etc).&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;lib/rubygems/remote_fetcher.rb
&lt;ul&gt;
  &lt;li&gt;Now uses ~/.gem/cache if the cache dir in GEM_HOME is not writable.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;lib/rubygems/source_index.rb&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;Deprecate options to 'search' other than Gem::Dependency instances and issue warning until November 2008.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;setup.rb&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;--destdir folder structure now built using Pathname, so it works for Windows platforms.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;test/*&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;Fixes to run tests when under test/rubygems/.  Patch by Yusuke ENDOH [ruby-core:17353].&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;test/test_ext_configure_builder.rb&lt;/li&gt;
&lt;ul&gt;
  &lt;li&gt;Locale-free patch by Yusuke Endoh [ruby-core:17444].&lt;/li&gt;
&lt;/ul&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 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;code&gt;&lt;kbd&gt;$ gem update --system   (you might need to be admin/root)&lt;/kbd&gt;&lt;/code&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 "Nothing to update".&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;code&gt;&lt;kbd&gt;$ gem install rubygems-update # (again, might need to be admin/root)
$ update_rubygems             # (... here too)&lt;/kbd&gt;&lt;/code&gt;

&lt;p&gt;If you don't have any gems install, there is still the pre-gem
approach to getting software ... doing it manually:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;DOWNLOAD FROM: http://rubyforge.org/frs/?group_id=126&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:
http://rubyforge.org/tracker/?func=add&amp;group_id=126&amp;atid=575&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;-- Jim &amp; Chad &amp; Eric (for the RubyGems team)&lt;/p&gt;
</description>
      <pubDate>Fri, 26 Sep 2008 14:19:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:48300233-2b17-47dd-9ed9-adb83714753c</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0</link>
      <category>Rubygems</category>
      <category>Software</category>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Sebas</title>
      <description>&lt;p&gt;On ubuntu 8.04 I was getting /usr/bin/gem:10:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009.&lt;/p&gt;


	&lt;p&gt;to solve this problem I did:&lt;/p&gt;


	&lt;p&gt;selected pre-release and unsupported packages in Software Sources.
apt-get remove ruby*
apt-get clean
apt-get install ruby rubygems&lt;/p&gt;


	&lt;p&gt;It helped me, you could try without selecting pre-release and unsupported packages, just some apt-get magic.&lt;/p&gt;</description>
      <pubDate>Thu, 09 Oct 2008 02:04:18 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:5fae372d-2f5d-421f-960a-1d1f3cda5232</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-959</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Doug Miller</title>
      <description>&lt;p&gt;c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:713:in `set_paths&amp;#8217;: undefined method `uid&amp;#8217; for nil:NilClass (NoMethodError)&lt;/p&gt;


	&lt;p&gt;I saw that this error was reported on 3/10/2008.  I there a fix for this yet?&lt;/p&gt;</description>
      <pubDate>Mon, 06 Oct 2008 15:57:10 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:f1998d8e-a57e-486b-81a7-d7055fd0f000</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-958</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Eric Hodel</title>
      <description>&lt;p&gt;You should stop using Gem.manage_gems and require the files you want directly.  Gem.manage_gems hasn&amp;#8217;t done anything for several releases anyhow.  It can probably just be deleted.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2008 16:20:14 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:64aedf37-1b27-47fe-9ce2-edacb2d05839</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-957</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by andy</title>
      <description>&lt;p&gt;Re: the deprecation message:
- Gem::manage_gems now warns when called. 
- It will be removed on or after March 2009.&lt;/p&gt;


	&lt;p&gt;Is this a result of calling GemPackageTask.new ??
What should I use instead??&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2008 11:33:29 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:49bc6093-6adf-4f8b-b916-7e9197431998</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-956</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Dr Nic</title>
      <description>&lt;p&gt;Excellent, thx guys.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2008 05:55:38 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e2179689-f336-4795-82b2-ad07357284e6</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-955</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Eric Hodel</title>
      <description>&lt;p&gt;gem install rubygems-update; update_rubygems is the way to fix the &amp;#8220;nothing to update&amp;#8221; problem.  Both 1.1 and 1.2 had this bug.&lt;/p&gt;


	&lt;p&gt;Unfortunately, fixing gem update&amp;#8212;system takes at least two releases to be fixed.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:10:13 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:c6141273-2120-429f-840c-b867746b5636</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-954</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by MilesZS</title>
      <description>&lt;p&gt;Dr. Nic, I recommend &amp;#8220;sudo gem install rubygems-update&amp;#8221; and &amp;#8220;sudo update_rubygems&amp;#8221;.  Be warned: I had to do this a while back, and now, apparently, must do this for every update.  So, maybe it&amp;#8217;s not at all the solution for which you were looking.  It works, though.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:14:02 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:bc81b12e-46a6-4d3f-83de-64dffa2d6436</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-953</link>
    </item>
    <item>
      <title>"RubyGems 1.3.0" by Dr Nic</title>
      <description>&lt;p&gt;I managed to screw up my update process and now when I &lt;code&gt;sudo gem update --system&lt;/code&gt; it says there is nothing to install, but &lt;code&gt;gem env&lt;/code&gt; says I&amp;#8217;m on 1.2.0 not 1.3.0. Is there a way to force a reupdate?&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 03:28:10 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:548fe84a-6728-42c3-82db-9db4be377d6c</guid>
      <link>http://blog.segment7.net/articles/2008/09/26/rubygems-1-3-0#comment-952</link>
    </item>
  </channel>
</rss>
