rubygems freezes with expand_path error

B

Bruno Sousa

Hi,
Rubygems went crazy.
Here is the command sequence:

# gem list

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
calendar_date_select (1.16.1)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
eventmachine (0.12.10)
fastthread (1.0.7)
gem_plugin (0.2.3)
image_science (1.2.1)
memcache-client (1.8.3)
mime-types (1.16)
mongrel (1.1.5)
mysql (2.8.1)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rcov (0.9.8)
rspec (1.3.0)
ruby-fcgi (0.8.9)
ruby-lsapi (4.0)
RubyInline (3.8.4)
sqlite3-ruby (1.2.5)
starling (0.10.1)
thin (1.2.7)
webroar (0.3.1)
will_paginate (2.3.12)
ZenTest (4.3.1)

# webroar stop
Stopping webroar-head ... done.
Stopping webroar-analyzer process ... done.

# webroar uninstall
Removing executables ... done.
Removing admin panel application database ... done.
WebROaR uninstalled successfully.
Removing files ...
Removing log rotate file ... done.
Removing service script ... done.

# 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
 
J

James Harrison

=20
=20
# 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
=20
what happened?
=20
regards
--=20
Posted via http://www.ruby-forum.com/.
=20


Looks like the current working directory for the ruby process was erased =
as part of the earlier gem uninstall. "getcwd (Errno::ENOENT)"=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top