Install rail behind a proxy


#1

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:intimeout’
from c:/ruby/lib/ruby/1.8/timeout.rb:55:in timeout' from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:inrbuf_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:inread_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:inproxy_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:inproce
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:inrun’
from c:/ruby/bin/gem:17

But it’s working. i have always a timeout

Why ?

Bolo


#2

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.


#3

Use

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

They Ruby Gems should work.


#4

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:intimeout’
from c:/ruby/lib/ruby/1.8/timeout.rb:55:in timeout' from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:inrbuf_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:inread_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:inproxy_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:inproce
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:inrun’
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:intimeout’
from c:/ruby/lib/ruby/1.8/timeout.rb:55:in timeout' from c:/ruby/lib/ruby/1.8/net/protocol.rb:196:inrbuf_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:inreadline’
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:inread_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:inproce
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:inrun’

    from c:/ruby/bin/gem:17

no working

Martinique Sans Fil
http://www.martiniquesansfil.com