Hi Glenn,
  Yes, using the ~/.gems directory if you forget sudo is a new "feature" for
Rubygems in the last few releases.  Seem like it often causes people
trouble.

Rob

On Fri, Feb 6, 2009 at 11:36, Glenn Little <[email protected]> wrote:

>
> Okay... finally had to rm -rf ~/.gem  I'm thinking somewhere along
> the line a "sudo" got left off a gem install and instead of causing
> a write error it just created a local set of gems transparently.
>
>        -glenn
>
> Glenn Little wrote:
> > In trying to get postgres working under ruby2.2.2 (an issue for
> > a separate email), I installed the ruby-pg gem:
> >
> >  % sudo gem install ruby-pg
> >
> > Then I read on this page:
> >
> >  http://rubyforge.org/forum/forum.php?forum_id=21187
> >
> > that "the gem for ruby-pg is named 'pg'".  Not sure what that really
> > means, but okay, I did:
> >
> >  % sudo gem install pg
> >
> > Now, I cannot uninstall ruby-pg:
> >
> >  % sudo gem uninstall ruby-pg
> >  ERROR:  While executing gem ... (Gem::InstallError)
> >  Unknown gem ruby-pg >= 0
> >
> > Same behavior if I uninstall pg first.
> >
> > Anyone have any ideas?  In this email, in particular, how to uninstall
> > that gem so I can get a clean start?
> >
> > Thanks much...
> >
> >     -glenn
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to