Setting the proxy address

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 :frowning:

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:inopen’
c:/Ruby/lib/ruby/1.8/net/http.rb:560:in connect' c:/Ruby/lib/ruby/1.8/timeout.rb:48:intimeout’
c:/Ruby/lib/ruby/1.8/timeout.rb:76:in timeout' c:/Ruby/lib/ruby/1.8/net/http.rb:560:inconnect’
c:/Ruby/lib/ruby/1.8/net/http.rb:553:in do_start' c:/Ruby/lib/ruby/1.8/net/http.rb:542:instart’
c:/Ruby/lib/ruby/1.8/net/http.rb:1032:in request' c:/Ruby/lib/ruby/1.8/net/http.rb:769:inget’
c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:136:in
send' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:136:inhttp_request’
c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:222:in
http_get' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:238:inload_remote_feed!’
c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:125:in
update!' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:80:inopen’
#{RAILS_ROOT}/app/controllers/admin/tickets_controller.rb:158:in
`load_blog_feed’

On 4/9/07, Javin Y. [email protected] 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:

http://thefigtrees.net/lee/blog/2005/12/ruby_on_rails_activesupport_an.html
http://www.ruby-forum.com/topic/103173