[Rubygems-developers] Latest trunk still misses 'mswin32' as valid platform when installing gems.

Luis Lavena luislavena at gmail.com
Mon Nov 26 08:39:21 EST 2007

On Nov 25, 2007 8:33 PM, Tom Copeland <tom at infoether.com> wrote:
> On Sun, 2007-11-25 at 03:38 -0800, Eric Hodel wrote:
> > I think an index update with the new code will fix it.  Currently the
> > gems all have nil for the cpu field.
> Cool, done, how's it look now?

Now it install, but the platform thing is still bitching all over...:

This is limited to gems with WIN32 platform

use as reference: mongrel 1.1.1 (platform: mswin32). mongrel-1.1.1-mswin32.gem
gem install mongrel:
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed gem_plugin-0.2.3
Successfully installed cgi_multipart_eof_fix-2.5.0
Successfully installed mongrel-1.1.1-x86-mswin32
3 gems installed

This looks good, but notice the platform of mongrel: x86-mswin32

Now, irb:
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'mongrel'
LoadError: no such file to load -- mongrel
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
        from (irb):2

D:\Users\Luis>dir "C:/Ruby/lib/ruby/gems/1.8/gems"
<DIR>          mongrel-1.1.1-x86-mswin32

If I manually rename the mongrel directory to "mongrel-1.1.1-mswin32"
it the require works.
Guess the installer isn't honoring the @original_platform?

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the Rubygems-developers mailing list