<?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.1</title>
    <link>http://blog.segment7.net/articles/2007/01/18/rubygems-0-9-1</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>RubyGems 0.9.1</title>
      <description>&lt;p&gt;Finally, the much anticipated RubyGems version 0.9.1 is now available.
This release includes a number of new features and bug fixes.

&lt;P&gt;The most important change in RubyGems 0.9.1 is that RubyGems no longer allows files to be installed outside of the installation directory.  A separate security bulletin with full details will be posted shortly.

&lt;p&gt;RubyGems 0.9.1 is a required update.  The RubyForge gem repository will soon disallow installation by older versions of RubyGems.  Manual installation will still be allowed.

&lt;h3&gt;Upgrade note&lt;/h3&gt;

&lt;p&gt;While require_gem was deprecated in 0.9.0, the bin stubs are still using it (oops!).  To get rid of the warnings printed by rake or other bin stubs simply run 'gem pristine --all'.

&lt;h3&gt;Changes in RubyGems 0.9.1&lt;/h3&gt;

&lt;p&gt;Major changes include:

&lt;ul&gt;
&lt;li&gt;RubyGems no longer allows installation of files outside the gem directory
&lt;li&gt;#require_gem will now print a warning, use #gem instead
&lt;li&gt;RubyGems now requires ruby 1.8.2 or greater
&lt;li&gt;RubyGems is -w clean
&lt;/ul&gt;

&lt;p&gt;Minor changes include:

&lt;ul&gt;
&lt;li&gt;gem command changes
&lt;ul&gt;
  &lt;li&gt;new gem pristine command
  &lt;li&gt;new gem outdated command
  &lt;li&gt;new gem sources command
  &lt;li&gt;gem uninstall can uninstall multiple gems
  &lt;li&gt;gem install uses the cache instead of downloading
  &lt;li&gt;gem install returns non-zero exit code on failure
  &lt;li&gt;gem install can now set shebang on bin stubs (env or ruby)
  &lt;li&gt;gem help output now fits in 80 columns
&lt;/ul&gt;
&lt;li&gt;many proxy installation improvements
&lt;li&gt;gem cert improvements
&lt;li&gt;RubyGems is now easier to use as a library
&lt;ul&gt;
  &lt;li&gt;Easier programatic installs
  &lt;li&gt;Easier inspection of local and remote gems
&lt;/ul&gt;
&lt;li&gt;extension building enhancements
&lt;li&gt;error reporting enhancements (less odd exceptions)
&lt;li&gt;require now loads .jar files
&lt;/ul&gt;

&lt;p&gt;Bug fixes:

&lt;ul&gt;
&lt;li&gt;installing from scratch fixed
&lt;li&gt;gem install --force forces
&lt;li&gt;installing from read-only location works
&lt;li&gt;gem uninstall requires full name
&lt;li&gt;gem install obeys GEM_HOME for bin scripts
&lt;li&gt;RubyGems now installs on ruby 1.9
&lt;li&gt;fixed issue with Gem::Specification#hash for JRuby
&lt;li&gt;RubyGems now installs RDoc and ri for itself
&lt;li&gt;RubyGems is now tab-free
&lt;/ul&gt;

&lt;h3&gt;What is RubyGems?&lt;/h3&gt;

&lt;p&gt;RubyGems is a package management system for Ruby applications and
libraries. RubyGems' one command download makes installing Ruby software
fun and enjoyable again.

&lt;p&gt;Many gems are available for download from the RubyForge site. Browse
the list of gems with a "gem list --remote" command and download what
you need with a simple "gem install &amp;lt;name-of-gem&amp;gt;". RubyGems takes care
of the details of installing, not only the gem you requested, but also
any gems needed by the software you selected.

&lt;h3&gt;RubyGems Statistics&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;About 1250 different gems are available from RubyForge
&lt;li&gt;Over 540 thousand downloads of the RubyGems software
&lt;li&gt;Over 8 million gem downloads
&lt;/ul&gt;

&lt;p&gt;If you are interested in finding out when new gems are released, I
maintain an RSS feed at http://onestepback.org/gemwatch.rss.

&lt;h3&gt;How can I get RubyGems?&lt;/h3&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;pre&gt;&lt;kbd&gt;$ gem update --system # you might need to be admin/root
$ gem pristine --all # ... here too&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
$ gem pristine --all # and here&lt;/kbd&gt;&lt;/pre&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;ol&gt;
&lt;li&gt;DOWNLOAD FROM: http://rubyforge.org/frs/?group_id=126
&lt;li&gt;UNPACK INTO A DIRECTORY AND CD THERE
&lt;li&gt;INSTALL WITH: ruby setup.rb all (you may need admin/root privilege)
&lt;/ol&gt;

&lt;h3&gt;What's Next&lt;/h3&gt;

&lt;p&gt;For RubyGems 0.9.2 the RubyGems team is looking to add:

&lt;ol&gt;
&lt;li&gt;Integration of local and remote installation
&lt;li&gt;Automatic installation of platform-specific gems
&lt;/ol&gt;

&lt;h3&gt;Thanks&lt;/h3&gt;

&lt;p&gt;Contributors to this release include:

&lt;p&gt;Anatol Pomozov, Gavin Sinclair, David Lee, Ryan Davis, Robert James, Chris Morris, Sylvain Joyeux, Sava Chankov, Tom Pollard, Kevin Clark, Andy Shen.

&lt;p&gt;Keep those gems coming!

</description>
      <pubDate>Thu, 18 Jan 2007 11:00:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:6cbcafcb-9876-44d5-a967-37a65b01a435</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2007/01/18/rubygems-0-9-1</link>
      <category>Ruby</category>
      <category>Rubygems</category>
      <category>Software</category>
      <trackback:ping>http://blog.segment7.net/articles/trackback/678</trackback:ping>
    </item>
    <item>
      <title>"RubyGems 0.9.1" by Eric Hodel</title>
      <description>&lt;p&gt;Please file a bug for this on the RubyGems tracker, thanks!&lt;/p&gt;</description>
      <pubDate>Wed, 31 Jan 2007 01:43:38 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:facbca00-f957-47eb-bb82-109ea1c03f2f</guid>
      <link>http://blog.segment7.net/articles/2007/01/18/rubygems-0-9-1#comment-688</link>
    </item>
    <item>
      <title>"RubyGems 0.9.1" by leslie</title>
      <description>&lt;p&gt;It seems like RubyGems 0.9.1 now requires you to specify &amp;#8220;-source &lt;a href="http://code.whytheluckystiff.net" rel="nofollow"&gt;http://code.whytheluckystiff.net&lt;/a&gt;&amp;#8221; instead of &amp;#8220;-source code.whytheluckystiff.net&amp;#8221;&lt;/p&gt;


	&lt;p&gt;Is this a bug or a feature?&lt;/p&gt;


	&lt;p&gt;~L&lt;/p&gt;</description>
      <pubDate>Fri, 26 Jan 2007 16:40:02 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:0ac4e33c-a367-4785-818d-2b39486923ef</guid>
      <link>http://blog.segment7.net/articles/2007/01/18/rubygems-0-9-1#comment-683</link>
    </item>
  </channel>
</rss>
