From: Leslie Viljoen Date: 2008-05-30T05:09:52+09:00 Subject: Re: Gems not working On Thu, May 29, 2008 at 8:55 PM, Jim Hoskins wrote: > I am currently not able to install any gems. I was using Gem 1.1.1 but > kept receiving the following errors: > > ERROR: While executing gem ... (Gem::RemoteSourceException) > Error fetching remote gem cache: Errno::EPIPE: Broken pipe reading > http://gems.rubyonrails.org/yaml > > That seemed to be the same problem discussed here: > http://www.ruby-forum.com/topic/149595 > > That solution does me no good since I am using 32bit and running FreeBSD > not Linux. > > I decided to install Rubygem 1.1.0 and tried to install rails and got > this: > > gem install rails > Bulk updating Gem source index for: http://gems.rubyonrails.org/ > Bulk updating Gem source index for: http://gems.rubyforge.org/ > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > Errno::ECONNRESET: Connection reset by peer reading > http://gems.rubyforge.org/gems/rake-0.8.1.gem > > > Additionally this is stopping me from using the Freebsd rubygem-* ports > due to the same error. > > my gem env is: > > RubyGems Environment: > - RUBYGEMS VERSION: 1.1.0 (1.1.0) > - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-freebsd6] > - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /usr/local/bin/ruby18 > - RUBYGEMS PLATFORMS: > - ruby > - x86-freebsd-6 > - GEM PATHS: > - /usr/local/lib/ruby/gems/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://gems.rubyonrails.org", > "http://gems.rubyforge.org"] > - REMOTE SOURCES: > - http://gems.rubyonrails.org > - http://gems.rubyforge.org > > > Any Ideas? I am at the end of my rope on this. Have you tried a couple of times? The errors just look like a slow line that is disconnecting. I have had strange proxy issues with Rubyforge before, but that was always when trying to log in, never with getting gems. Leslie