Plugin issues

Hi, guys

I have some issues while installing plugins. when i type

ruby script/plugin discover

it comes up like this
C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize': Bad
file desc
riptor - connect(2) (Errno::EBADF)
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:560:in `open'
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:560:in
`connect'
        from C:/InstantRails/ruby/lib/ruby/1.8/timeout.rb:48:in
`timeout'
        from C:/InstantRails/ruby/lib/ruby/1.8/timeout.rb:76:in
`timeout'
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:560:in
`connect'
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:553:in
`do_start'
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:542:in
`start'
        from C:/InstantRails/ruby/lib/ruby/1.8/open-uri.rb:242:in
`open_http'
         ... 13 levels...
        from
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/command
s/plugin.rb:934
        from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require
.rb:27:in `gem_original_require'
        from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require
.rb:27:in `require'
        from script/plugin:3

when i type

ruby script/plugin install calendar_helper

i get this:

Plugin not found: ["calendar_helper"]

I don't know if it's because i'm behind a proxy coz i have to use proxy
to install rails through gem like this
gem install rails --include-dependencies -p http:…

In fact, i've read almost all i can find and still can't figure it out.
Before it drives me crazy, it there anyone who can help me out?

Thank you~
Matt

I find a way to install plugin via local files. But still, it will be
much better if I can do it via internet.

Is there anyone who knows the answer?