My apologies if this is the wrong list for this query, but I think I've found a problem with the gem repository.
What I'm trying to do is integrate puppet and facter into my system build process. For complicated technical reasons around the fact that we do our own RoR hosting, we build and install our own ruby interpreter and our own gems. (HOWEVER, I should point out that everything I say below is true for a standard Mac OS X ruby --which is actually where I generated my examples below -- and also on a random Centos 4 box I tried out.) As part of this (to work around bugs in certain versions of the gem tools and in certain gems) we do a 2 phase gem installation from within a Makefile. First we use 'gem fetch' to download a precise version of the gem file locally on our SW build host. Then we do a local install on the gem. Problem is, if I try to do what I think should be the correct gem fetch invocation, gem pukes out. Here's what I get: # gem fetch puppet --source "http://reductivelabs.com/downloads/" -- version 0.24.5 ERROR: While executing gem ... (TypeError) can't convert URI::HTTP into String And, if I turn on full debugging, I get this: # gem fetch puppet --version 0.24.5 --source "http://reductivelabs.com/ downloads/" --backtrace --debug Password: Exception `NameError' at /System/Library/Frameworks/Ruby.framework/ Versions/1.8/usr/lib/ruby/1.8/rubygems/command_manager.rb:132 - uninitialized constant Gem::Commands::FetchCommand Exception `Gem::LoadError' at /System/Library/Frameworks/ Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:379 - RubyGem version error: sources(0.0.1 not > 0.0.1) Exception `Gem::RemoteSourceException' at /System/Library/Frameworks/ Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/ remote_fetcher.rb:74 - HTTP Response 404 fetching http://reductivelabs.com/downloads/Marshal.4.8 Exception `TypeError' at /System/Library/Frameworks/Ruby.framework/ Versions/1.8/usr/lib/ruby/1.8/rubygems/commands/fetch_command.rb:49 - can't convert URI::HTTP into String ERROR: While executing gem ... (TypeError) can't convert URI::HTTP into String /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/commands/fetch_command.rb:49:in `join' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/commands/fetch_command.rb:49:in `execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/commands/fetch_command.rb:39:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/commands/fetch_command.rb:39:in `execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/command.rb:136:in `invoke' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/command_manager.rb:104:in `process_args' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/command_manager.rb:74:in `run' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/gem_runner.rb:39:in `run' /usr/bin/gem:22 Any thoughts? --jeh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
