Forum: Ruby Setting the proxy address

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C1ecc308c000fe6c750547b9822c50ad?d=identicon&s=25 Javin Yeo (Guest)
on 2007-04-09 04:20
Hi guys,

I have been getting the following errors when accessing the admin page
which i think is related to proxy as my office is behide a proxy server.
when i disabled the rss feed codes on tickets_controller.rb, it managed
show the admin login page. So how do I set the proxy server? I looked at
net/http.rb but to no avail to how it works :(

Thks in advance guys!
any help is greatly appreciated!

Errno::EBADF in Admin/ticketsController#list_pending
Bad file descriptor - connect(2)
RAILS_ROOT: ./script/../config/..

Application Trace | Framework Trace | Full Trace
c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `initialize'
c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `open'
c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
c:/Ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
c:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
c:/Ruby/lib/ruby/1.8/net/http.rb:553:in `do_start'
c:/Ruby/lib/ruby/1.8/net/http.rb:542:in `start'
c:/Ruby/lib/ruby/1.8/net/http.rb:1032:in `request'
c:/Ruby/lib/ruby/1.8/net/http.rb:769:in `get'
37ee5fa90f5eaeef62553629382497f7?d=identicon&s=25 Leslie Viljoen (Guest)
on 2007-04-09 11:28
(Received via mailing list)
On 4/9/07, Javin Yeo <> wrote:
> Errno::EBADF in Admin/ticketsController#list_pending
> Bad file descriptor - connect(2)
> RAILS_ROOT: ./script/../config/..

Might be a windows issue. Google for "ruby rails bad file descriptor".
Some hits:
This topic is locked and can not be replied to.