Forum: Ruby on Rails install rail behind a proxy

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bolo M. (Guest)
on 2006-04-18 19:01
(Received via mailing list)
Hello


i try to install rail. I am behin a proxy with no  Authorization

C:\rubygems-0.8.11>gem install rails -p http://xxx.xxx.xxx.xxx
Attempting local installation of 'rails'
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency rake? [Yn]  y
c:/ruby/lib/ruby/1.8/timeout.rb:42:in `rbuf_fill': execution expired
(Timeout::E
rror)
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `timeout'
        from c:/ruby/lib/ruby/1.8/timeout.rb:55:in `timeout'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `rbuf_fill'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:128:in `read'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1735:in `read_body_0'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1697:in `read_body'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/open-uri.rb:554:in
`proxy_o
pen'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/open-uri.rb:545:in
`request
'
         ... 27 levels...
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `proce
ss_args'
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in
`run'
        from c:/ruby/bin/gem:17


But it's working. i have always a timeout

Why ?

Bolo
Matt R. (Guest)
on 2006-04-19 00:39
(Received via mailing list)
I had to do this at school. It may not be what you're looking for, but I
downloaded all of the gems and installed locally.
Christopher W. (Guest)
on 2006-04-19 01:57
Use

c:\> set HTTP_PROXY = [[proxy location]]

They Ruby Gems should work.
Bolo M. (Guest)
on 2006-04-19 14:07
(Received via mailing list)
i try to install local

C:\gem>gem install Activesupport
Attempting local installation of 'Activesupport'
Local gem file not found: Activesupport*.gem
Attempting remote installation of 'Activesupport'
Updating Gem source index for: http://gems.rubyforge.org
c:/ruby/lib/ruby/1.8/timeout.rb:42:in `rbuf_fill': execution expired
(Timeout::E
rror)
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `timeout'
        from c:/ruby/lib/ruby/1.8/timeout.rb:55:in `timeout'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `rbuf_fill'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:128:in `read'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1735:in `read_body_0'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1697:in `read_body'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/open-uri.rb:554:in
`proxy_o
pen'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/open-uri.rb:545:in
`request
'
         ... 24 levels...
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `proce
ss_args'
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in
`run'
        from c:/ruby/bin/gem:17

C:\gem>gem install Activesupport -p http://xxx.xxx.xxx.xxx
Attempting local installation of 'Activesupport'
Local gem file not found: Activesupport*.gem
Attempting remote installation of 'Activesupport'
c:/ruby/lib/ruby/1.8/timeout.rb:42:in `rbuf_fill': execution expired
(Timeout::E
rror)
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `timeout'
        from c:/ruby/lib/ruby/1.8/timeout.rb:55:in `timeout'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:in `rbuf_fill'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:160:in `readuntil'
        from c:/ruby/lib/ruby/1.8/net/protocol.rb:171:in `readline'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1554:in `read_status_line'
        from c:/ruby/lib/ruby/1.8/net/http.rb:1538:in `read_new'
        from c:/ruby/lib/ruby/1.8/net/http.rb:833:in `request'
         ... 21 levels...
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:94:in `proce
ss_args'
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in
`run'

        from c:/ruby/bin/gem:17


no working

Martinique Sans Fil
http://www.martiniquesansfil.com
This topic is locked and can not be replied to.