[Rubygems-developers] RubyGems Bug?

Curt Hibbs curt at hibbs.com
Thu Jan 27 10:41:38 EST 2005


Sorry it took me a while to respond (too many meetings). Here's the
backtrace you asked for:

C:\>gem install rails --backtrace -p http://www-stl-proxy4.boeing.com:31060
Attempting local installation of 'rails'
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
ERROR:  While executing gem ... (NameError)
    undefined local variable or method `http_proxy' for
#<Gem::RemoteInstaller:0
x2dcda28>
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:337:in
`initialize'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:163:in `new'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:163:in `execute'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:129:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:129:in `execute'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in `invoke'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
`process_args'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run'
c:/ruby/bin/gem:11

C:\>

Chad Fowler wrote:
>
> On Jan 26, 2005, at 11:29 AM, Curt Hibbs wrote:
>
> > I was concerned that my rails upgrade may not have been complete, so I
> > thought I would start over and first update Rubygems to 0.8.4. So I:
> > - uninstalled ruby
> > - reinstalled the one-click installer 1.8.2-14
> > - updated rubygems to 0.8.4
> >
> > But now I get am error when I try to use the proxy option. Here my
> > console
> > log:
> >
> > C:\>gem install -p http://www-stl-proxy4.boeing.com:31060 rails
> > Attempting local installation of 'rails'
> > Local gem file not found: rails*.gem
> > Attempting remote installation of 'rails'
> > ERROR:  While executing gem ... (NameError)
> >     undefined local variable or method `http_proxy' for
> > #<Gem::RemoteInstaller:0
> > x2dcd758>
> >
> >
>
>
> Curt, can you run this again and add "--backtrace"?  I'm fortunate
> enough to not work in an environment where I have to use a proxy
> anymore ;), but that means I can't do much with the proxy  code until I
> can setup my own proxy server.  Jim, do you have one?
>
> Thanks,
> Chad
>
> > Curt Hibbs wrote:
> >>
> >> I just went to update my Rails gem, and it also tried to update
> >> FXRuby (see
> >> below). I'm running the one-click ruby installer for windows, which
> >> has
> >> RubyGems 0.8.3 pre-installed.
> >>
> >> Here's my console log:
> >>
> >> C:\rails\cookbook>gem update -p http://www-stl-proxy4.boeing.com:31060
> >> rails
> >>
> >> C:\rails\cookbook>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" update -p
> >> http://www-
> >> stl-proxy4.boeing.com:31060 rails
> >> Upgrading installed gems...
> >> Updating Gem source index for: http://gems.rubyforge.org
> >> Attempting remote upgrade of actionpack
> >> Attempting remote installation of 'actionpack'
> >> Successfully installed actionpack, version 1.4.0
> >> Installing RDoc documentation for actionpack-1.4.0...
> >>
> >> lib/action_controller/scaffolding.rb:87:37: Skipping require of
> >> dynamic
> >> string:
> >> "#{model_id.id2name}"
> >> Attempting remote upgrade of activerecord
> >> Attempting remote installation of 'activerecord'
> >> Successfully installed activerecord, version 1.6.0
> >> Installing RDoc documentation for activerecord-1.6.0...
> >> Attempting remote upgrade of fxruby
> >> Attempting remote installation of 'fxruby'
> >> Select which gem to install for your platform (i386-mswin32)
> >>  1. fxruby 1.2.3 (mswin32)
> >>  2. fxruby 1.2.3 (ruby)
> >>  3. fxruby 1.2.2 (ruby)
> >>  4. fxruby 1.2.2 (mswin32)
> >>  5. fxruby 1.2.1 (mswin32)
> >>  6. fxruby 1.2.1 (ruby)
> >>  7. Cancel installation
> >>>
> >>
> >> Curt
> >>
> >> _______________________________________________
> >> Rubygems-developers mailing list
> >> Rubygems-developers at rubyforge.org
> >> http://rubyforge.org/mailman/listinfo/rubygems-developers
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Anti-Virus.
> >> Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 1/25/2005
> >>
> >
> > _______________________________________________
> > Rubygems-developers mailing list
> > Rubygems-developers at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rubygems-developers
>
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 1/25/2005
>



More information about the Rubygems-developers mailing list