<?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 0.9.5</title>
    <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 0.9.5</title>
      <description>&lt;p&gt;RubyGems 0.9.5 adds several new features and fixes several bugs.&lt;/p&gt;


	&lt;p&gt;To upgrade to the latest RubyGems:&lt;/p&gt;


&lt;pre&gt;&lt;kbd&gt;gem update --system&lt;/kbd&gt;&lt;/pre&gt;

	&lt;p&gt;To upgrade to the latest RubyGems by hand:&lt;/p&gt;


&lt;ol&gt;
&lt;li&gt;Download RubyGems from &lt;a href="http://rubyforge.org/frs/?group_id=126&amp;amp;release_id=16500"&gt;http://rubyforge.org/frs/?group_id=126&amp;#38;release_id=16500&lt;/a&gt;
&lt;li&gt;&lt;kbd&gt;gem install rubygems-update-0.9.5.gem&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;update_rubygems&lt;/kbd&gt;
&lt;/ol&gt;

	&lt;p&gt;To install RubyGems from scratch:&lt;/p&gt;


&lt;ol&gt;
&lt;li&gt;Download RubyGems source .tgz or .zip file from
  &lt;a href="http://rubyforge.org/frs/?group_id=126&amp;amp;release_id=16500"&gt;http://rubyforge.org/frs/?group_id=126&amp;#38;release_id=16500&lt;/a&gt;
&lt;li&gt;Unpack the source .tgz or .zip
&lt;li&gt;&lt;kbd&gt;ruby setup.rb&lt;/kbd&gt;
&lt;/ol&gt;

	&lt;p&gt;To install RubyGems on Ruby 1.9 update your ruby trunk checkout and reinstall.&lt;/p&gt;


	&lt;p&gt;To file bugs:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://rubyforge.org/tracker/?func=add&amp;amp;group_id=126&amp;amp;atid=575"&gt;http://rubyforge.org/tracker/?func=add&amp;#38;group_id=126&amp;#38;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;.  For example:&lt;/p&gt;


&lt;pre&gt;&amp;lt;samp&amp;gt;$ gem --debug unknown_command
Exception `RuntimeError' at [...]/rubygems/command_manager.rb:114 - Unknown command unknown_command
ERROR:  While executing gem ... (RuntimeError)
    Unknown command unknown_command
        [...]/rubygems/command_manager.rb:114:in `find_command'
        [...]/rubygems/command_manager.rb:103:in `process_args'
        [...]/rubygems/command_manager.rb:74:in `run'
        [...]/rubygems/gem_runner.rb:39:in `run'
        /usr/local/bin/gem:22&amp;lt;/samp&amp;gt;&lt;/pre&gt;

&lt;h3&gt;Changes&lt;/h3&gt;

	&lt;p&gt;Select new features include:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;Automatic installation of platform gems
&lt;li&gt;New bandwidth and memory friendlier index file format
&lt;li&gt;&amp;#8220;Offline&amp;#8221; mode (&amp;#8212;no-update-sources)
&lt;li&gt;Bulk update threshold can be specified (-B,&amp;#8212;bulk-threshold)
&lt;li&gt;New &lt;kbd&gt;gem fetch&lt;/kbd&gt; command
&lt;li&gt;&lt;kbd&gt;gem&lt;/kbd&gt; now has &amp;#8220;really verbose&amp;#8221; output when you specify -v
&lt;li&gt;Ruby 1.9 compatible
&lt;/ul&gt;

	&lt;p&gt;Other changes include:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Time::today&lt;/code&gt; is deprecated and will be removed at a future date
&lt;li&gt;&lt;kbd&gt;gem install --include-dependencies&lt;/kbd&gt; (-y) is now deprecated since it is the default, use&amp;#8212;ignore-dependencies to turn off automatic dependency installation
&lt;li&gt;&lt;kbd&gt;gem.bat&lt;/kbd&gt; and bin stubs on mswin platforms are improved and compatible with the One-Click Installer
&lt;li&gt;Multi-version diamond dependencies only are installed once
&lt;li&gt;Bulk index updates take less memory
&lt;li&gt;-V now enables verbose instead of -v to avoid collision with&amp;#8212;version&amp;#8217;s -v
&lt;li&gt;&lt;kbd&gt;gem install -i&lt;/kbd&gt; makes sure all depenencies are installed
&lt;li&gt;&lt;kbd&gt;gem update --system&lt;/kbd&gt; reinstalls into the prefix it was originally installed in
&lt;li&gt;&lt;kbd&gt;gem update --system&lt;/kbd&gt; respects&amp;#8212;no-rdoc and&amp;#8212;no-ri flags
&lt;li&gt;&lt;span class="caps"&gt;HTTP&lt;/span&gt; basic authentication support for proxies
&lt;li&gt;&lt;code&gt;Gem::Specification#platforms&lt;/code&gt; should no longer be a String, use &lt;code&gt;Gem::Platform::CURRENT&lt;/code&gt; when building binary gems instead
&lt;li&gt;&lt;kbd&gt;gem env&lt;/kbd&gt; has more diagnostic information
&lt;li&gt;require &amp;#8216;rubygems&amp;#8217; loads less code
&lt;li&gt;sources.gem is gone, RubyGems now uses built-in defaults
&lt;li&gt;&lt;kbd&gt;gem install --source&lt;/kbd&gt; will no longer add&amp;#8212;source by default, use &lt;kbd&gt;gem sources --add&lt;/kbd&gt; to make it a permanent extra source
&lt;li&gt;&lt;kbd&gt;gem query&lt;/kbd&gt; (list) no longer prints details by default
&lt;li&gt;Exact gem names are matched in various places
&lt;li&gt;mkrf extensions are now supported
&lt;li&gt;A gem can depend on a specific RubyGems version
&lt;li&gt;&lt;kbd&gt;gem_server&lt;/kbd&gt; is now &lt;kbd&gt;gem server&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;gemlock&lt;/kbd&gt; is now &lt;kbd&gt;gem lock&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;gem_mirror&lt;/kbd&gt; is now &lt;kbd&gt;gem mirror&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;gemwhich&lt;/kbd&gt; is now &lt;kbd&gt;gem which&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;gemri&lt;/kbd&gt; is no longer included with RubyGems
&lt;li&gt;&lt;kbd&gt;index_gem_repository.rb&lt;/kbd&gt; is now &lt;kbd&gt;gem generate_index&lt;/kbd&gt;
&lt;li&gt;&lt;kbd&gt;gem&lt;/kbd&gt; performs more validation of parameters
&lt;li&gt;Removed gem* commands are now replaced with stubs that warn
&lt;li&gt;Custom rdoc styles are now supported
&lt;li&gt;Gem indexer no longer removes quick index during index creation
&lt;li&gt;&lt;code&gt;Kernel#require&lt;/code&gt; only rescues a LoadError for the file being required now
&lt;li&gt;&lt;kbd&gt;gem dependencies&lt;/kbd&gt; can now display some information for remote gems
&lt;/ul&gt;

	&lt;p&gt;Notes and issues:&lt;/p&gt;


&lt;ul&gt;
&lt;li&gt;Old gem scripts (gem_mirror, gem_server, gemlock, gemri, gemwhich,  index_gem_repository.rb) are not cleaned up
&lt;li&gt;There still appears to be a bug related to bulk updates of &lt;span class="caps"&gt;YAML&lt;/span&gt; indexes
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Daniel Berger for win32 support and testing
&lt;li&gt;Luis Lavena for win32 support and testing
&lt;li&gt;Tom Copeland for help testing and releasing the new indexer
&lt;li&gt;Wilson Bilkovich for the new Marshal index format
&lt;li&gt;To the rest of the RubyGems bug reporters and patch contributors
&lt;/ul&gt;

	&lt;p&gt;The full set of changes including contributors is included in the ChangeLog.&lt;/p&gt;


&lt;h3&gt;Platforms&lt;/h3&gt;

	&lt;p&gt;RubyGems now automatically handles platform gems.  This means that &lt;kbd&gt;gem install&lt;/kbd&gt; will no longer prompt for gem selection.  RubyGems uses Ruby&amp;#8217;s built-in configuration to match the running ruby&amp;#8217;s platform to choose the correct gem to install.  The automatically chosen platform may be overridden with the&amp;#8212;platform option.&lt;/p&gt;


	&lt;p&gt;The dependency, fetch, install, outdated, specification, uninstall and update commands all respond to&amp;#8212;platform.&lt;/p&gt;


	&lt;p&gt;For more information, see &lt;kbd&gt;gem help platforms&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;#38; Chad &amp;#38; Eric (for the RubyGems team)&lt;/p&gt;
</description>
      <pubDate>Mon, 19 Nov 2007 16:35:31 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ff4bcbe4-21e4-436b-a55a-eda10706ce29</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5</link>
      <category>Rubygems</category>
      <category>Software</category>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Jesper Rønn-Jensen</title>
      <description>&lt;p&gt;Luis Lavena put me on track and refered me to this solution to the Windows/Mongrel problem in the comments above.&lt;/p&gt;


	&lt;p&gt;For me, however, I could not uninstall 0.9.5. For what I could tell, there is no 
gem unistall&amp;#8212;system 
command. (did you consider adding that command in a future version?)&lt;/p&gt;


	&lt;p&gt;What worked for me was a complete reinstall of ruby and gems.&lt;/p&gt;


	&lt;p&gt;Related post:
&lt;a href="http://www.ruby-forum.com/topic/133033" rel="nofollow"&gt;http://www.ruby-forum.com/topic/133033&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Jesper Rønn-Jensen
Blog: &lt;a href="http://www.justaddwater.dk" rel="nofollow"&gt;www.justaddwater.dk&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 28 Nov 2007 00:41:52 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ef5a9433-45ef-46a3-9a7c-85c51e3386fd</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-810</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Scott Miller</title>
      <description>&lt;p&gt;This one got me too, using InstantRails on Windows. Took me a bit to figure out how to get back to  0.9.4, if anyone is wondering you have to download it, gem install it, and then run &amp;#8220;ruby setup.rb&amp;#8221; from the gems directory, from inside your ruby console.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 19:31:48 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:dad10a70-eea7-40bf-ab71-87d6c8ee72c0</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-808</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Luis Lavena</title>
      <description>&lt;p&gt;Laco: the bug was fixed in rubygems svn.&lt;/p&gt;


	&lt;p&gt;For the moment, stick to 0.9.4 for Windows until 0.9.5.1 shows sometime soon (I hope) :-)&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 17:41:31 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ccc8bbfb-468d-490e-ad80-bc7ee7ad3bd6</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-807</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Eric Hodel</title>
      <description>&lt;p&gt;Martin: I disabled trackbacks on purpose since they were 99% spam.  Maybe there&amp;#8217;s something still lingering.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 11:30:47 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:f8cf8e4e-d043-46bf-b9ae-ca9243b71142</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-806</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Martin Probst</title>
      <description>&lt;p&gt;By the way the trackback had to be manual as your blog &lt;em&gt;does&lt;/em&gt; include the required RDF markup for trackback discovery, but the markup lacks the &amp;#8216;trackback:ping&amp;#8217; attribute required for trackbacks to work (see &lt;a href="http://www.sixapart.com/pronet/docs/trackback_spec" rel="nofollow"&gt;http://www.sixapart.com/pronet/docs/trackback_spec&lt;/a&gt;).&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 11:11:07 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:643b809a-373b-45c7-958a-84d3585d8b0e</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-805</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Martin Probst</title>
      <description>&lt;p&gt;Manual trackback: &lt;a href="http://www.martin-probst.com/blog/2007/11/21/rubygems-upgrade-0-9-5" rel="nofollow"&gt;http://www.martin-probst.com/blog/2007/11/21/rubygems-upgrade-0-9-5&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I had the same problem as Laco and fixed it by reinstalling all gems.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 10:58:02 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:f3b104f8-d422-4149-a870-3b79838c3ec5</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-804</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Eric Hodel</title>
      <description>&lt;p&gt;Laco: You&amp;#8217;ll need to file a bug.  Follow the instructions right up there at the top.&lt;/p&gt;


	&lt;p&gt;Juanma: Download and install RubyGems 0.9.4 to move back to 0.9.4.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 10:49:02 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9961cc0f-7733-4e31-9735-a35217ce4192</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-803</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Juanma Cervera</title>
      <description>&lt;p&gt;Hi Eric,&lt;/p&gt;


	&lt;p&gt;I wish I would read the previous message before updating to 0.9.5.
Is there a way to get back to 0.9.4?
I couldn&amp;#8217;t even install mongrel again.&lt;/p&gt;


	&lt;p&gt;Thanks
Juan&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 03:10:57 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:edfece0f-f63d-4afd-b8b0-ee812a31ee2c</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-802</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Laco</title>
      <description>&lt;p&gt;Hi, on Windows platform are Rubygems 0.9.5 breaking mongrel installation. Perhaps because of crazy name like: mongrel-1.1-x86-mswin32-60 but mongrel is in mongrel-1.1-mswin32.
I know that rubygems are now selecting gems for platform, but what if I wnat to have a chance to select my prefered package type (like mswin32 instead of ruby or jruby)?&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s error I get:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&amp;#8217;: no such file to load&amp;#8212;c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-x86-mswin32-60/lib/mongrel/init.rb (MissingSourceFile)&lt;/p&gt;


	&lt;p&gt;Thankx Laco&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 02:22:45 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:6046ab2c-b25c-44e0-add6-d24432d69f25</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-801</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Dejan Dimic</title>
      <description>&lt;p&gt;Thank you for another great version.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Nov 2007 13:58:55 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:10e72ff0-8d34-4238-a8ee-8412ccba6754</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-800</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by sgwong</title>
      <description>&lt;p&gt;Great job!! I really like this version. It is so much improvement compare to the previous version. I can see the memory consume decrease dramatically on my windows platform( now the ruby process(1.8) use only ~8MB ). Thanks you!!!&lt;/p&gt;</description>
      <pubDate>Mon, 19 Nov 2007 23:10:01 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c1732d3a-b5c3-462b-ace2-084f7e41bb14</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-799</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Eric Hodel</title>
      <description>&lt;p&gt;The best way to use proxies with RubyGems is to set the HTTP_PROXY, HTTP_PROXY_USER and HTTP_PROXY_PASS to specify the username and password respectively.  I think you can specify username and password in the URL (&lt;a href="http://user:pass" rel="nofollow"&gt;http://user:pass&lt;/a&gt;@host), but I don&amp;#8217;t think that will work in Ruby 1.9.&lt;/p&gt;


	&lt;p&gt;Currently OpenURI (which RubyGems uses for most HTTP requests) isn&amp;#8217;t able to use NTLM authentication.&lt;/p&gt;</description>
      <pubDate>Mon, 19 Nov 2007 22:06:20 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:3ac4d707-a1aa-4728-8462-829feea84c86</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-798</link>
    </item>
    <item>
      <title>"RubyGems 0.9.5" by Jeff</title>
      <description>&lt;p&gt;Awesome!&lt;/p&gt;


	&lt;p&gt;Can you elaborate on the -p option?  I think this will be helpful to those behind a corporate (Microsoft) firewall.  Sometimes a username and password is required.  Is there a way to specify the username and password along with -p?  Or will it prompt as necessary?&lt;/p&gt;


	&lt;p&gt;Thanks again for maintaining RubyGems for the benefit of the whole community.&lt;/p&gt;


	&lt;p&gt;Jeff&lt;/p&gt;</description>
      <pubDate>Mon, 19 Nov 2007 17:56:58 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:a254cc7b-7f8c-4c85-8946-44f786ad0648</guid>
      <link>http://blog.segment7.net/articles/2007/11/19/rubygems-0-9-5#comment-797</link>
    </item>
  </channel>
</rss>
