From: James Harrison Date: 2010-05-23T06:34:56+09:00 Subject: Re: rubygems freezes with expand_path error > > > # gem list > /usr/lib/ruby/1.8/rubygems.rb:471:in `expand_path': No such file or > directory - getcwd (Errno::ENOENT) > from /usr/lib/ruby/1.8/rubygems.rb:471:in `find_files' > from /usr/lib/ruby/1.8/rubygems.rb:470:in `map' > from /usr/lib/ruby/1.8/rubygems.rb:470:in `find_files' > from /usr/lib/ruby/1.8/rubygems.rb:1103 > from /usr/bin/gem:8:in `require' > from /usr/bin/gem:8 > > what happened? > > regards > -- > Posted via http://www.ruby-forum.com/. > Looks like the current working directory for the ruby process was erased as part of the earlier gem uninstall. "getcwd (Errno::ENOENT)"