Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.ruby

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2010, 04:46 PM
Bruno Sousa
Guest
 
Posts: n/a
Default rubygems freezes with expand_path error

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
--
Posted via http://www.ruby-forum.com/.

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 05-22-2010, 09:34 PM
James Harrison
Guest
 
Posts: n/a
Default Re: rubygems freezes with expand_path error

>=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)"=

Reply With Quote
  #3 (permalink)  
Old 05-22-2010, 09:42 PM
Bruno Sousa
Guest
 
Posts: n/a
Default Re: rubygems freezes with expand_path error

After uninstalling rubygems and installing it again, it worked

James Harrison wrote:
>> 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)"


--
Posted via http://www.ruby-forum.com/.

Reply With Quote
  #4 (permalink)  
Old 05-26-2010, 02:59 AM
Eric Hodel
Guest
 
Posts: n/a
Default Re: rubygems freezes with expand_path error

On May 22, 2010, at 14:42, Bruno Sousa wrote:

> After uninstalling rubygems and installing it again, it worked


That didn't fix it.

Your current directory disappeared cd ~ (or similar) fixed it.

Reply With Quote
 
Reply

Popular Tags in the Forum
error, expandpath, freezes, rubygems

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing rubysdl gem Venkat Akkineni Newsgroup comp.lang.ruby 5 03-23-2010 08:35 AM
make error on tcloo build on windows for 8.5, error: (nearinitialization for `tclOOIntStubs.tclOOGetDefineCmdContext') Patrick Newsgroup comp.lang.tcl 3 12-17-2009 01:21 PM
how to get rid of this error msg Jeff Newsgroup comp.soft-sys.sas 0 03-02-2009 05:36 PM
Re: dynamically assigning values to macro variabel Peter Crawford Newsgroup comp.soft-sys.sas 0 07-18-2007 09:34 PM
dynamically assigning values to macro variabel =?iso-8859-1?q?Rune_Runnest=F8?= Newsgroup comp.soft-sys.sas 1 07-18-2007 07:13 PM



All times are GMT. The time now is 02:28 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.