# Gem remote Fetch error

**URL:** <https://www.ruby-forum.com/t/gem-remote-fetch-error/163968>\
**Category:** Rails\
**Created:** [March 26, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/gem-remote-fetch-error/163968 "2009-03-26T15:30:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/958977/32.png) [@sts](https://www.ruby-forum.com/u/sts)\
**Post date:** [March 26, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/gem-remote-fetch-error/163968/1 "2009-03-26T15:30:16Z")

</div>

I keep getting this error while trying to run gem update:

D:\blog\>gem update --system  
Updating RubyGems…  
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
Bad file descriptor - connect(2)(Errno::EBADF)

can anyone put some light on this…

thanks for any help…
