On 10/15/07, Eric Hodel <[EMAIL PROTECTED]> wrote:
> On Oct 15, 2007, at 24:01 , Luis Lavena wrote:
> > Found a problem checking the tests for the beta.
> >
> > First I must apologize for not correctly test this, was too focus on
> > platform that ignored the other stuff.
> >
> > I have found what I commented before about creating my own local
> > mirror for gems. Zlib problems...
> >
> > It seems that AbstractIndexBuilder#compress was reading the file
> > 'as-is' and not forcing binary mode, like the other places.
> >
> > The following patch correct this, but raises other issues regarding
> > OpenURI and proper support of Windows paths.
>
> What issues?
>
D:\Users\Developer\code\OpenSource\rubygems-trunk>ruby -w -Ilib;ext
test\test_gem_commands_mirror_command.rb
Loaded suite test/test_gem_commands_mirror_command
Started
E
Finished in 4.75 seconds.
1) Error:
test_execute(TestGemCommandsMirrorCommand):
Errno::ENOENT: No such file or directory - //D/Temp/test_rubygems_3088/Marshal.4
.8.Z
./lib/rubygems/open-uri.rb:33:in `initialize'
./lib/rubygems/open-uri.rb:33:in `rubygems_open_uri_original_open'
./lib/rubygems/open-uri.rb:33:in `open'
./lib/rubygems/commands/mirror_command.rb:66:in `execute'
./lib/rubygems/commands/mirror_command.rb:36:in `each'
./lib/rubygems/commands/mirror_command.rb:36:in `execute'
test/test_gem_commands_mirror_command.rb:42:in `test_execute'
./lib/rubygems/user_interaction.rb:45:in `use_ui'
./lib/rubygems/user_interaction.rb:27:in `use_ui'
test/test_gem_commands_mirror_command.rb:41:in `test_execute'
1 tests, 0 assertions, 0 failures, 1 errors
D:\Users\Developer\code\OpenSource\rubygems-trunk>echo %TEMP%
D:\Temp
Testing on different ruby version right now:
D:\Users\Developer\code\OpenSource\rubygems-trunk>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 0.9.4.5 (0.9.4.5)
- RUBY VERSION: 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
- INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
- RUBYGEMS PLATFORMS:
- ruby
- x86-mswin32-60
- GEM PATHS:
- C:/Ruby/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org
OpenURI don't like Windows paths... I faced that problem when patching SVNauto.
--
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
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers