On Nov 26, 2007, at 05:39 , Luis Lavena wrote: > On Nov 25, 2007 8:33 PM, Tom Copeland <[EMAIL PROTECTED]> 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 > `gem_original_require' > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in > `require' > 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?
Ok. I will walk through that code again and sprinkle in extra tests and make it work later tonight. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
