[Rubygems-developers] gem server problems in 0.9.5

Chad Woolley thewoolleyman at gmail.com
Mon Dec 17 21:32:58 EST 2007


On Dec 17, 2007 4:35 PM, Eric Hodel <drbrain at segment7.net> wrote:
> Fixed.

This is getting closer, but there are still a couple of gems that have
problems.  Also, I had to actually install the trunk version to get it
to pick up a couple of them, which seems to indicate that "-I"
approach of running a specific version sometimes still uses installed
rubygems files.  Anyway, here's the output.

[1] - server command and output WITHOUT running setup
[2] - gem list command and output WITHOUT running setup
[3] - server command and output AFTER running setup
[4] gem list command and output AFTER running setup

Only two of my test gems are still failing in [4].

Thanks for all your work on this...
-- Chad

[1]
chadmac:~/workspace/rubygems woolley$ ruby -llib bin/gem server
--dir=/Users/woolley/svk-checkouts/geminstaller/spec/fixture/gems/
--port=9909
Starting gem server on http://localhost:9909/
127.0.0.1 - - [17/Dec/2007:19:23:55 MST] "HEAD /Marshal.4.8 HTTP/1.1" 200 0
- -> /Marshal.4.8
127.0.0.1 - - [17/Dec/2007:19:23:55 MST] "GET /quick/index.rz HTTP/1.1" 200 100
- -> /quick/index.rz
127.0.0.1 - - [17/Dec/2007:19:23:55 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
HTTP/1.1" 404 65
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:56 MST] "GET
/quick/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz HTTP/1.1"
404 65
- -> /quick/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:56 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 52
- -> /quick/Marshal.4.8/dependent-stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:56 MST] "GET
/quick/dependent-stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 52
- -> /quick/dependent-stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:56 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-multilevel-1.0.0.gemspec.rz
HTTP/1.1" 200 414
- -> /quick/Marshal.4.8/dependent-stubgem-multilevel-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:56 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-depends-on-multiplatform-1.0.0.gemspec.rz
HTTP/1.1" 200 428
- -> /quick/Marshal.4.8/dependent-stubgem-depends-on-multiplatform-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:57 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.0.gemspec.rz HTTP/1.1"
500 56
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:57 MST] "GET
/quick/stubgem-multiplatform-1.0.0.gemspec.rz HTTP/1.1" 500 56
- -> /quick/stubgem-multiplatform-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:57 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.1.gemspec.rz HTTP/1.1"
500 56
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.1.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:58 MST] "GET
/quick/stubgem-multiplatform-1.0.1.gemspec.rz HTTP/1.1" 500 56
- -> /quick/stubgem-multiplatform-1.0.1.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:58 MST] "GET
/quick/Marshal.4.8/stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 42
- -> /quick/Marshal.4.8/stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:58 MST] "GET
/quick/stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 42
- -> /quick/stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:58 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
HTTP/1.1" 404 75
- -> /quick/Marshal.4.8/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:23:59 MST] "GET
/quick/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
HTTP/1.1" 404 75
- -> /quick/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz


[2]
chadmac:~/workspace/rubygems woolley$ rm -rf ~/.gem; sudo ruby -Ilib
bin/gem sources --clear; ruby bin/gem list --remote
--source=http://localhost:9909
*** Removed user source cache ***
*** Removed system source cache ***

*** REMOTE GEMS ***

Updating metadata for 8 gems from http://localhost:9909
Failed to download spec stubgem-multiplatform-1.0.1-x86-mswin32-60
from http://localhost:9909:
        OpenURI::HTTPError: 404 Not Found  reading
http://localhost:9909/quick/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
        No gems found matching stubgem-multiplatform-1.0.1-x86-mswin32 60
Failed to download spec dependent-stubgem-1.0.0 from http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/dependent-stubgem-1.0.0.gemspec.rz
        Multiple gems found matching dependent-stubgem 1.0.0
..Failed to download spec stubgem-multiplatform-1.0.0 from
http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/stubgem-multiplatform-1.0.0.gemspec.rz
        Multiple gems found matching stubgem-multiplatform 1.0.0
Failed to download spec stubgem-multiplatform-1.0.1 from http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/stubgem-multiplatform-1.0.1.gemspec.rz
        Multiple gems found matching stubgem-multiplatform 1.0.1
Failed to download spec stubgem-1.0.0 from http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/stubgem-1.0.0.gemspec.rz
        Multiple gems found matching stubgem 1.0.0
Failed to download spec
dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60 from
http://localhost:9909:
        OpenURI::HTTPError: 404 Not Found  reading
http://localhost:9909/quick/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
        No gems found matching
dependent-stubgem-multiplatform-1.0.0-x86-mswin32 60

complete
dependent-stubgem-depends-on-multiplatform (1.0.0)
dependent-stubgem-multilevel (1.0.0)



[3]
chadmac:~/workspace/rubygems woolley$ ruby -llib bin/gem server
--dir=/Users/woolley/svk-checkouts/geminstaller/spec/fixture/gems/
--port=9909
Starting gem server on http://localhost:9909/
127.0.0.1 - - [17/Dec/2007:19:25:44 MST] "HEAD /Marshal.4.8 HTTP/1.1" 200 0
- -> /Marshal.4.8
127.0.0.1 - - [17/Dec/2007:19:25:44 MST] "GET /quick/index.rz HTTP/1.1" 200 100
- -> /quick/index.rz
127.0.0.1 - - [17/Dec/2007:19:25:45 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
HTTP/1.1" 200 638
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:45 MST] "GET
/quick/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz HTTP/1.1"
200 638
- -> /quick/stubgem-multiplatform-1.0.1-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:45 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 60
- -> /quick/Marshal.4.8/dependent-stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:46 MST] "GET
/quick/dependent-stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 60
- -> /quick/dependent-stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:46 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-multilevel-1.0.0.gemspec.rz
HTTP/1.1" 200 414
- -> /quick/Marshal.4.8/dependent-stubgem-multilevel-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-depends-on-multiplatform-1.0.0.gemspec.rz
HTTP/1.1" 200 428
- -> /quick/Marshal.4.8/dependent-stubgem-depends-on-multiplatform-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.0.gemspec.rz HTTP/1.1"
200 396
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/Marshal.4.8/stubgem-multiplatform-1.0.1.gemspec.rz HTTP/1.1"
200 394
- -> /quick/Marshal.4.8/stubgem-multiplatform-1.0.1.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/Marshal.4.8/stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 50
- -> /quick/Marshal.4.8/stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/stubgem-1.0.0.gemspec.rz HTTP/1.1" 500 50
- -> /quick/stubgem-1.0.0.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:47 MST] "GET
/quick/Marshal.4.8/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
HTTP/1.1" 200 663
- -> /quick/Marshal.4.8/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
127.0.0.1 - - [17/Dec/2007:19:25:48 MST] "GET
/quick/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz
HTTP/1.1" 200 663
- -> /quick/dependent-stubgem-multiplatform-1.0.0-x86-mswin32-60.gemspec.rz


[4]
chadmac:~/workspace/rubygems woolley$ rm -rf ~/.gem; sudo ruby -Ilib
bin/gem sources --clear; ruby bin/gem list --remote
--source=http://localhost:9909
*** Removed user source cache ***
*** Removed system source cache ***

*** REMOTE GEMS ***

Updating metadata for 8 gems from http://localhost:9909
.Failed to download spec dependent-stubgem-1.0.0 from http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/dependent-stubgem-1.0.0.gemspec.rz
        Multiple gems found matching "dependent-stubgem" "1.0.0" nil
....Failed to download spec stubgem-1.0.0 from http://localhost:9909:
        OpenURI::HTTPError: 500 Internal Server Error  reading
http://localhost:9909/quick/stubgem-1.0.0.gemspec.rz
        Multiple gems found matching "stubgem" "1.0.0" nil
.
complete
dependent-stubgem-depends-on-multiplatform (1.0.0)
dependent-stubgem-multilevel (1.0.0)
dependent-stubgem-multiplatform (1.0.0)
stubgem-multiplatform (1.0.1, 1.0.0)


More information about the Rubygems-developers mailing list