On Thu, 2010-03-11 at 09:48 -0800, Jedrin wrote:
> > Try removing and re-installing the postgresql-devel package
> >
> > yum remove postgresql-devel
> > yum install postgresql-devel
> >
> 
>  Ok, I just did that, but I am having a problem that my gem command is
> not working all of a sudden.
> I had also tried to debug the extconf.rb, I had stepped inside a
> function that appeared to hang so I killed the process.
> 
> gem --help
> /usr/lib/ruby/site_ruby/1.8/rubygems.rb:521:in `expand_path': No such
> file or directory - getcwd (Errno::ENOENT)
>       from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:521:in `find_files'
>       from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:520:in `map'
>       from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:520:in `find_files'
>       from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1132
>       from /usr/bin/gem:8:in `require'
>       from /usr/bin/gem:8
----
getcwd failure seems to indicate that your current path is a directory
that no longer exists (like it was deleted)

cd /

then try again

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to