# ANN: RubyGems 0.9.0 Release

**URL:** <https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534>\
**Category:** ruby-talk\
**Created:** [28 June 2006 17:10 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534 "2006-06-28T17:10:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [28 June 2006 17:10 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/1 "2006-06-28T17:10:47Z")

</div>

= Announce: RubyGems Release 0.9.0

Finally, the much anticipated RubyGems version 0.9.0 is now available.  
This release includes a number of new features and bug fixes. The  
number one change is that we can now download the gem index  
incrementally. This will greatly speed up the gem command when only a  
few gems are out of date.

Major Enhancments include:

\* The gem index is now downloaded incrementally, only updating entries  
&nbsp;&nbsp;that are out of date. If more than 50 entries are out of date, we  
&nbsp;&nbsp;revert back to a bulk download.  
\* Several patches related to allowing RubyGems to work with  
&nbsp;&nbsp;authenticating proxies (from Danie Roux and Anatol Pomozov). Just  
&nbsp;&nbsp;put the user and password in the proxy URL (e.g. -p  
&nbsp;&nbsp;[http://user:password@proxy.address.com:8080](http://user:password@proxy.address.com:8080)) or use the  
&nbsp;&nbsp;HTTP\_PROXY\_USER and HTTP\_PROXY\_PASS environment variables.  
\* The gem unpack command can now accept a file path rather than just a  
&nbsp;&nbsp;install gem name.  
\* Both RI and RDOC documents are now generated by default.  
\* A gemri command is included to read gem RI docs (only needed for  
&nbsp;&nbsp;Ruby 1.8.4 or earlier).

Minor enhancements include:

\* Verison 0.0.0 is now a valid gem version.  
\* Better detection of missing SSL functionality.  
\* SSL is not required if the security policy does not require  
&nbsp;&nbsp;signature checking.  
\* Rake built extensions are now supported (Tilman Sauerbeck).  
\* Several autorequire bug fixes.  
\* --traceback is now an alias for --backtrace (I can never remember  
&nbsp;&nbsp;which one it is).  
\* SAFE=1 compatibility fixes.  
\* .rbw is now a supported suffix for RubyGem's custom require.  
\* Several Ruby 1.9 compatibility fixes (Eric Hodel).

Bug Fixes:

\* Added dashes to gemspecs generated in Ruby 1.8.3. This solves some  
&nbsp;&nbsp;cross-Ruby version compatibility issues.  
\* Fixed bug where the wrong executables could be uninstalled (Eric  
&nbsp;&nbsp;Hodel).  
\* Fixed bug where gem unpack occasionally unpacked the wrong gem.  
\* Fixed bug where a fatal error occured when permissions on .gemrc  
&nbsp;&nbsp;were too restrictive (reported by Luca Pireddu).  
\* Fixed prefix handling for native expressions (patch by Aaron  
Patterson).  
\* Fixed several Upgrade =\> Update typos.

== What is RubyGems?

RubyGems is a package management system for Ruby applications and  
libraries. RubyGems one command download makes installing Ruby software  
fun and enjoyable again. (Ok, not really.)

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 \<name-of-gem\>". RubyGems takes care  
of the details of installing, not only the gem you requested, but also  
any gems needed by the software you selected.

== RubyGems Statistics

\* About 780 different gems are available from RubyForge  
\* Over 350 thousand downloads of the RubyGems software  
\* Over 4 million gem downloads

If you are interested in finding out when new gems are released, I  
maintain an RSS feed at [http://onestepback.org/gemwatch.rss](http://onestepback.org/gemwatch.rss).

== How can I get RubyGems?

If you have a recent version of RubyGems (0.8.5 or later), then all  
you need to do is:

&nbsp;&nbsp;$ gem update --system (you might need to be admin/root)

(Note: You may have to run the command twice if you have any previosly  
installed rubygems-update gems).

If you have an older version of RubyGems installed, then you can still  
do it in two steps:

&nbsp;&nbsp;$ gem install rubygems-update (again, might need to be admin/root)  
&nbsp;&nbsp;$ update\_rubygems (... here too)

If you don't have any gems install, there is still the pre-gem  
approach to getting software ... doing it manually:

1. DOWNLOAD FROM: [http://rubyforge.org/frs/?group\_id=126](http://rubyforge.org/frs/?group_id=126)  
2. UNPACK INTO A DIRECTORY AND CD THERE  
3. INSTALL WITH: ruby setup.rb all (you may need admin/root privilege)

== What's Next

The next big thing on the plate is to integrate the local/remote gem  
logic and make the whole thing more consistent.

== Thanks

Major contributors to this release include:

\* Danie Roux, Anatol Pomozov, Eric Hodel, Luca Pireddu, and Tilman  
&nbsp;&nbsp;Sauerbeck.

Keep those gems coming!

-- Jim & Chad (for the RubyGems team)

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Timo\_Hoepfner](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timo\_Hoepfner](https://rubytalk.org/u/Timo_Hoepfner)\
**Post date:** [29 June 2006 10:16 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/2 "2006-06-29T10:16:11Z")

</div>

Hi,

how can I force gem to update the index? Somehow my gem installation seems to be a bit confused when running whith super user privileges:

[mbp:~] th% gem -v  
0.9.0  
[mbp:~] th% gem up  
Updating installed gems...  
Attempting remote update of actionmailer  
Install required dependency actionpack? [Yn]  
ERROR: While executing gem ... (Errno::EACCES)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Permission denied - /opt/local/lib/ruby/gems/1.8/cache/actionpack-1.12.2.gem  
[mbp:~] th% sudo gem up  
Updating installed gems...  
Gems: updated  
[mbp:~] th%

Timo

> **···**
>
> Am 28.06.2006 um 19:10 schrieb Jim Weirich:
> 
> > = Announce: RubyGems Release 0.9.0
> > 
> > \* The gem index is now downloaded incrementally, only updating entries  
> > &nbsp;&nbsp;that are out of date. If more than 50 entries are out of date, we  
> > &nbsp;&nbsp;revert back to a bulk download.

---

<div class="post-metadata">

**Author:** ![Alexandru\_Popescu](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Alexandru\_Popescu](https://rubytalk.org/u/Alexandru_Popescu)\
**Post date:** [29 June 2006 11:00 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/3 "2006-06-29T11:00:11Z")

</div>

Trying to uprade from 0.8.11, Ruby 1.8.4 on WinXP, I can read in the last lines:

&nbsp;&nbsp;Successfully built RubyGem  
&nbsp;&nbsp;Name: sources  
&nbsp;&nbsp;Version: 0.0.1  
&nbsp;&nbsp;File: sources-0.0.1.gem  
hook C:/ruby/ruby\_1.8.4/lib/ruby/gems/1.8/gems/rubygems-update-0.9.0/./post-install.rb  
failed:  
undefined method `post\_install\_message' for #\<Gem::Specification:0x2ffd550\>

Is this something wrong?

./alex

> **···**
>
> --  
> .w( the\_mindstorm )p.

---

<div class="post-metadata">

**Author:** ![Logan\_Capaldo](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@Logan\_Capaldo](https://rubytalk.org/u/Logan_Capaldo)\
**Post date:** [29 June 2006 16:21 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/4 "2006-06-29T16:21:40Z")

</div>

Thanks!

gemri is brillant.

> **···**
>
> On Jun 28, 2006, at 1:10 PM, Jim Weirich wrote:
> 
> > = Announce: RubyGems Release 0.9.0
> > 
> > Finally, the much anticipated RubyGems version 0.9.0 is now available.  
> > This release includes a number of new features and bug fixes. The  
> > number one change is that we can now download the gem index  
> > incrementally. This will greatly speed up the gem command when only a  
> > few gems are out of date.

---

<div class="post-metadata">

**Author:** ![Erik\_Veenstra1](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@Erik\_Veenstra1](https://rubytalk.org/u/Erik_Veenstra1)\
**Post date:** [30 June 2006 07:51 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/5 "2006-06-30T07:51:49Z")

</div>

I added better RubyGems 0.8.11 support to RubyScript2Exe, this  
week.

RubyGems 0.9.0 doesn't work with RubyScript2Exe...

I hate conditionally requiring libraries!... ;]

gegroet,  
Erik V. - [http://www.erikveen.dds.nl/](http://www.erikveen.dds.nl/)

---

<div class="post-metadata">

**Author:** ![John\_Gabriele](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@John\_Gabriele](https://rubytalk.org/u/John_Gabriele)\
**Post date:** [1 July 2006 00:58 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/6 "2006-07-01T00:58:07Z")

</div>

Thanks Jim.

I updated this relevant wiki page:  
[http://wiki.rubygarden.org/Ruby/page/show/RiRDocAndGems](http://wiki.rubygarden.org/Ruby/page/show/RiRDocAndGems)

---John

> **···**
>
> On 6/28/06, Jim Weirich \<jim@weirichhouse.org\> wrote:
> 
> > = Announce: RubyGems Release 0.9.0
> > 
> > [snip]

---

<div class="post-metadata">

**Author:** ![Xavier\_Noria](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/xavier_noria/32/1867_2.png) [@Xavier\_Noria](https://rubytalk.org/u/Xavier_Noria)\
**Post date:** [29 June 2006 10:27 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/7 "2006-06-29T10:27:41Z")

</div>

Looks like most issues disappear if one deletes the file

&nbsp;&nbsp;&nbsp;source\_cache

located in the directory

&nbsp;&nbsp;&nbsp;gem env gempath

-- fxn

> **···**
>
> On Jun 29, 2006, at 12:16, Timo Hoepfner wrote:
> 
> > Am 28.06.2006 um 19:10 schrieb Jim Weirich:
> > 
> > > = Announce: RubyGems Release 0.9.0
> > > 
> > > \* The gem index is now downloaded incrementally, only updating entries  
> > > &nbsp;&nbsp;that are out of date. If more than 50 entries are out of date, we  
> > > &nbsp;&nbsp;revert back to a bulk download.
> > 
> > Hi,
> > 
> > how can I force gem to update the index? Somehow my gem installation seems to be a bit confused when running whith super user privileges:

---

<div class="post-metadata">

**Author:** ![Alexandru\_Popescu](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Alexandru\_Popescu](https://rubytalk.org/u/Alexandru_Popescu)\
**Post date:** [29 June 2006 11:04 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/8 "2006-06-29T11:04:03Z")

</div>

I have deleted the source\_cache from gem env gempath and than I  
redone: gem update --system (this time the last lines look like  
everything went well:

&nbsp;&nbsp;Successfully built RubyGem  
&nbsp;&nbsp;Name: sources  
&nbsp;&nbsp;Version: 0.0.1  
&nbsp;&nbsp;File: sources-0.0.1.gem  
RubyGems system software updated

./alex

> **···**
>
> --  
> .w( the\_mindstorm )p.
> 
> On 6/29/06, Alexandru Popescu \<the.mindstorm.mailinglist@gmail.com\> wrote:
> 
> > Trying to uprade from 0.8.11, Ruby 1.8.4 on WinXP, I can read in the last lines:
> > 
> > &nbsp;&nbsp;Successfully built RubyGem  
> > &nbsp;&nbsp;Name: sources  
> > &nbsp;&nbsp;Version: 0.0.1  
> > &nbsp;&nbsp;File: sources-0.0.1.gem  
> > hook C:/ruby/ruby\_1.8.4/lib/ruby/gems/1.8/gems/rubygems-update-0.9.0/./post-install.rb  
> > failed:  
> > undefined method `post\_install\_message' for #\<Gem::Specification:0x2ffd550\>
> > 
> > Is this something wrong?
> > 
> > ./alex  
> > --  
> > .w( the\_mindstorm )p.

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [29 June 2006 17:10 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/9 "2006-06-29T17:10:08Z")

</div>

Logan Capaldo wrote:

> Thanks!
> 
> gemri is brillant.

Gemri is a temporary fix. My understanding is that upcoming versions of  
Ruby will have the capability baked into the basic ri command.

-- Jim Weirich

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [30 June 2006 21:46 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/10 "2006-06-30T21:46:20Z")

</div>

Why?

> **···**
>
> On Jun 30, 2006, at 12:51 AM, Erik Veenstra wrote:
> 
> > I added better RubyGems 0.8.11 support to RubyScript2Exe, this  
> > week.
> > 
> > RubyGems 0.9.0 doesn't work with RubyScript2Exe...
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://rubytalk.org/u/Jeff)\
**Post date:** [1 July 2006 01:36 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/11 "2006-07-01T01:36:26Z")

</div>

I'm getting an error on step 2 (update\_gems). I'm on WinXP, Ruby

c:\dev\> gem install rubygems-update  
Attempting local installation of 'rubygems-update'  
Local gem file not found: rubygems-update\*.gem  
Attempting remote installation of 'rubygems-update'  
Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
Successfully installed rubygems-update-0.9.0

c:\dev\> update\_rubygems  
Error: Cannot find RubyGems Update Path!

RubyGems has already been updated.  
The rubygems-update gem may now be uninstalled.  
E.g. gem uninstall rubygems-update

c:\dev\>gem -v  
0.8.11

Any workaround?

Thanks!  
Jeff  
[softiesonrails.com](http://softiesonrails.com)

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Timo\_Hoepfner](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timo\_Hoepfner](https://rubytalk.org/u/Timo_Hoepfner)\
**Post date:** [29 June 2006 10:45 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/12 "2006-06-29T10:45:23Z")

</div>

> > how can I force gem to update the index? Somehow my gem installation seems to be a bit confused when running whith super user privileges:
> 
> Looks like most issues disappear if one deletes the file  
> &nbsp;&nbsp;source\_cache  
> located in the directory  
> &nbsp;&nbsp;gem env gempath

Thanks, that helped!

Looks like there are several source\_index files. One in

&nbsp;&nbsp;~/.gem/source\_index

and one in

&nbsp;&nbsp;`gem env gempath`/source\_index

which one is used when? The latter one only for the super user?

Thanks again,

Timo

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [29 June 2006 20:25 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/13 "2006-06-29T20:25:38Z")

</div>

Ruby 1.8.5p2 will allow easy view of ri for a particular gem.

> **···**
>
> On Jun 29, 2006, at 10:10 AM, Jim Weirich wrote:
> 
> > Logan Capaldo wrote:
> > 
> > > Thanks!
> > > 
> > > gemri is brillant.
> > 
> > Gemri is a temporary fix. My understanding is that upcoming versions of  
> > Ruby will have the capability baked into the basic ri command.
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [1 July 2006 13:13 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/14 "2006-07-01T13:13:51Z")

</div>

Jeff Cohen wrote:

> I'm getting an error on step 2 (update\_gems). I'm on WinXP, Ruby

[...]

> Any workaround?

What happens with

&nbsp;&nbsp;&nbsp;&nbsp;gem update --system

?

-- Jim Weirich

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Erik\_Veenstra1](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@Erik\_Veenstra1](https://rubytalk.org/u/Erik_Veenstra1)\
**Post date:** [3 July 2006 13:37 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/15 "2006-07-03T13:37:41Z")

</div>

(Back in town...)

> \> I added better RubyGems 0.8.11 support to RubyScript2Exe,  
> \> this week.  
> \>  
> \> RubyGems 0.9.0 doesn't work with RubyScript2Exe...
> 
> Why?

It's complaining about a missing fileutils:

.../lib/rubygems/custom\_require.rb:21:in `require\_\_':  
No such file to load -- fileutils (LoadError)

I did some more testing with more gems on different platforms.  
The conclusion is twofold: a) The problem occurred with  
RubyGems 0.8.11 as well (in combination with RubyScript2Exe  
0.4.4) and b) it doesn't occur with all gems (e.g. sqlite-ruby  
is a problem, actionmailer isn't).

Requiring fileutils by hand is a (temporary) solution:

require "rubygems"  
require "fileutils" # \<\<\< ADD THIS  
require\_gem "sqlite-ruby"

A better solution would be to require fileutils from within  
RubyScript2Exe if it knows that rubygems is required, but  
fileutils isn't. However, that doesn't feel good... "Which  
library next?"

Which libraries are required conditionally by RubyGems?

My proposition: Do not conditionally require libraries. Not  
only because RubyScript2Exe won't find these libs, but because  
it's usually not necessary to do so. (I know, there are  
exceptions: It's either mysql or sqlite, not both at the same  
time. But at least require them at startup time, please.) I,  
personally, want my applications to behave properly once they  
are started: I don't want my users to see any avoidable  
"missing library" message.

Statement: "All libraries should be loaded at startup time."

Regarding Rails, as an example: It's not necessary to require  
ruby-sqlite when the application only uses mysql. But why are  
these libraries required when the application tries to access  
the database and not at startup time? I don't know.

gegroet,  
Erik V. - [http://www.erikveen.dds.nl/](http://www.erikveen.dds.nl/)

PS: This particular problem is a RubyScript2Exe problem and  
&nbsp;&nbsp;&nbsp;&nbsp;\*not\* a RubyGems problem. It's all my fault...

---

<div class="post-metadata">

**Author:** ![Timo\_Hoepfner](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timo\_Hoepfner](https://rubytalk.org/u/Timo_Hoepfner)\
**Post date:** [29 June 2006 10:55 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/16 "2006-06-29T10:55:28Z")

</div>

> > > how can I force gem to update the index? Somehow my gem installation seems to be a bit confused when running whith super user privileges:
> > 
> > Looks like most issues disappear if one deletes the file  
> > &nbsp;&nbsp;source\_cache  
> > located in the directory  
> > &nbsp;&nbsp;gem env gempath
> 
> Thanks, that helped!

Ok, 1 fixed, 1 new:

[mbp:~] th% sudo gem install rmagick  
ERROR: While executing gem ... (OpenURI::HTTPError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;300 Multiple Choices

What's wrong here?

Timo

---

<div class="post-metadata">

**Author:** ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://rubytalk.org/u/Jeff)\
**Post date:** [1 July 2006 20:23 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/17 "2006-07-01T20:23:40Z")

</div>

Jim Weirich wrote:

> What happens with
> 
> &nbsp;&nbsp;&nbsp;&nbsp;gem update --system

I think that worked... got lots of output, only the ending of which made  
me wonder a bit:

hook c:/Program  
Files/ruby/lib/ruby/gems/1.8/gems/rubygems-update-0.9.0/./post-install.rb  
failed:  
undefined method `post\_install\_message' for  
#\<Gem::Specification:0x320fc68\>  
Try 'ruby setup.rb --help' for detailed usage.  
RubyGems system software updated

But now the version number has been updated:

c:\dev\>gem -v  
0.9.0

So I'm thinking everything's now ok?

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [5 July 2006 03:34 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/18 "2006-07-05T03:34:03Z")

</div>

> (Back in town...)
> 
> > > I added better RubyGems 0.8.11 support to RubyScript2Exe,  
> > > this week.
> > > 
> > > RubyGems 0.9.0 doesn't work with RubyScript2Exe...
> > 
> > Why?
> 
> It's complaining about a missing fileutils:
> 
> .../lib/rubygems/custom\_require.rb:21:in `require\_\_':  
> No such file to load -- fileutils (LoadError)
> 
> I did some more testing with more gems on different platforms.  
> The conclusion is twofold: a) The problem occurred with  
> RubyGems 0.8.11 as well (in combination with RubyScript2Exe  
> 0.4.4) and b) it doesn't occur with all gems (e.g. sqlite-ruby  
> is a problem, actionmailer isn't).

Perhaps sqlite-ruby is an old format gem? It seems to be the

> Requiring fileutils by hand is a (temporary) solution:
> 
> require "rubygems"  
> require "fileutils" # \<\<\< ADD THIS  
> require\_gem "sqlite-ruby"
> 
> A better solution would be to require fileutils from within  
> RubyScript2Exe if it knows that rubygems is required, but  
> fileutils isn't. However, that doesn't feel good... "Which  
> library next?"
> 
> Which libraries are required conditionally by RubyGems?

I think zlib and yaml are the only others for making require work. It is difficult to tell with just grep.

> **···**
>
> On Jul 3, 2006, at 6:37 AM, Erik Veenstra wrote:
> 
> > My proposition: Do not conditionally require libraries. Not  
> > only because RubyScript2Exe won't find these libs, but because  
> > it's usually not necessary to do so. (I know, there are  
> > exceptions: It's either mysql or sqlite, not both at the same  
> > time. But at least require them at startup time, please.) I,  
> > personally, want my applications to behave properly once they  
> > are started: I don't want my users to see any avoidable  
> > "missing library" message.
> > 
> > Statement: "All libraries should be loaded at startup time."
> > 
> > Regarding Rails, as an example: It's not necessary to require  
> > ruby-sqlite when the application only uses mysql. But why are  
> > these libraries required when the application tries to access  
> > the database and not at startup time? I don't know.
> > 
> > gegroet,  
> > Erik V. - [http://www.erikveen.dds.nl/](http://www.erikveen.dds.nl/)
> > 
> > PS: This particular problem is a RubyScript2Exe problem and  
> > &nbsp;&nbsp;&nbsp;&nbsp;\*not\* a RubyGems problem. It's all my fault...
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Tom\_Copeland](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@Tom\_Copeland](https://rubytalk.org/u/Tom_Copeland)\
**Post date:** [29 June 2006 13:02 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/19 "2006-06-29T13:02:54Z")

</div>

Hm, for some reason the gem had not sync'd out... I've sync'd it  
manually and it should be out there now. I'll look at that a bit to see  
what went wrong.

Yours,

Tom

> **···**
>
> On Thu, 2006-06-29 at 19:55 +0900, Timo Hoepfner wrote:
> 
> > Ok, 1 fixed, 1 new:
> > 
> > [mbp:~] th% sudo gem install rmagick  
> > ERROR: While executing gem ... (OpenURI::HTTPError)  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;300 Multiple Choices
> > 
> > What's wrong here?

---

<div class="post-metadata">

**Author:** ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://rubytalk.org/u/Jeff)\
**Post date:** [1 July 2006 21:37 UTC](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534/20 "2006-07-01T21:37:52Z")

</div>

Jeff Cohen wrote:

> So I'm thinking everything's now ok?

Tried to install the latest mongrel:

c:\dev\>gem install mongrel  
ERROR: While executing gem ... (Gem::GemNotFoundException)  
&nbsp;&nbsp;&nbsp;&nbsp;Could not find mongrel (\> 0) in the repository

However, this did work:

c:\dev\>gem install mongrel  
--source=[http://mongrel.rubyforge.org/releases/](http://mongrel.rubyforge.org/releases/)

Any idea why the simple "gem install" didn't work?

Thanks again,  
Jeff

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

[Next page](https://rubytalk.org/t/ann-rubygems-0-9-0-release/28534.md?page=2)
