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
        from C:/InstantRails/ruby/lib/ruby/1.8/timeout.rb:48:in
        from C:/InstantRails/ruby/lib/ruby/1.8/timeout.rb:76:in
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:560:in
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:553:in
        from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:542:in
        from C:/InstantRails/ruby/lib/ruby/1.8/open-uri.rb:242:in
         ... 13 levels...
.rb:27:in `gem_original_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~

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?