A
Alex 2k8
Hello,
I installed net-ssh gem from normal account, and got such warnings:
$ gem install net-ssh
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /home/alex/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
To make sure the gem installed:
$ gem list
*** LOCAL GEMS ***
net-ssh (2.0.11, 2.0.10)
Now I try to uninstall it.
$ gem uninstall net-ssh
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem net-ssh
$ gem list
*** LOCAL GEMS ***
net-ssh (2.0.11, 2.0.10)
So I installed a gem, but can't remove it. What is wrong here?
My system is Ubuntu 8.04,
$ gem -v
1.3.1
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
Thanks,
- Alex
I installed net-ssh gem from normal account, and got such warnings:
$ gem install net-ssh
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /home/alex/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
To make sure the gem installed:
$ gem list
*** LOCAL GEMS ***
net-ssh (2.0.11, 2.0.10)
Now I try to uninstall it.
$ gem uninstall net-ssh
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem net-ssh
$ gem list
*** LOCAL GEMS ***
net-ssh (2.0.11, 2.0.10)
So I installed a gem, but can't remove it. What is wrong here?
My system is Ubuntu 8.04,
$ gem -v
1.3.1
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
Thanks,
- Alex