On Wed, May 27, 2009 at 11:28 AM, Nation, Carey <Carey.Nation / turner.com> w=
rote:
> Well, just a couple of guesses here, but:
>
> It installed to your home directory because you don't have write rights
> to the system directories. If you have sudo, sudo gem install net-ssh
> might have worked.
>
> The second warning on the install probably also tells you why it won't
> uninstall.

Actually, I think that it's because gem uninstall defaults to
installing from the system gem directory.

> =A0WARNING: =A0Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
> =A0 =A0 =A0 =A0 =A0 =A0/usr/bin aren't both writable.

I suspect that

$gem uninstall -i~/.gem net-ssh

might work.

--=20
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale