From: 7stud -- Date: 2009-06-02T09:20:07+09:00 Subject: Re: My rubygems is completely broken (EOFErrors) I don't know if this will help, but for comparison here is my setup: $ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.1 - RUBY VERSION: 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.11.1] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-darwin-8 - GEM PATHS: - /usr/local/lib/ruby/gems/1.8 - /Users/me/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org/ I updated ruby to version 1.8.6, so I am not using the pre-installed ruby. Also, at some point when I forgot to use sudo to install a gem, rubygems created the local directory: /Users/me/.gem/ruby/1.8 and installed the gem there. Now when I forget to use sudo to install a gem, I do: $ rm -rf /Users/me/.gem to delete the whole directory, and then install the gem again using sudo. Unfortunately, rubygems still reports the non-existent directory under GEM PATHS, but that doesn't have any effect on anything. -- Posted via http://www.ruby-forum.com/.