I'm very new to Ruby, and quite new to Linux too. I need Ruby to deploy
a Ruby portal from a supplier.
I have installed from source, downloaded the tar.gz uncompressed in a
folder like /home/user/temp, then configure, make, make install.
But the supplier NOW sais to install the 1.8.7
Tryed "make uninstall" but doesn't work, i think i have to delete the
folders manually.
Where can i find what folders i have to delete? is there any
configuration file in any place?
Before anything else, if you installed gems, you should disinstall
them. Do
gem list
and for each, do
gem uninstall [gem-name]
Then: did you try
make clean
make distclean
make clean-platform
?
(I never needed to do a disinstall, so I cannot be certain). Anyway,
It should be sufficient to remove directory /usr/local/lib/ruby, and
these executables from /usr/local/bin:
ruby
testrb
ri
rake
rdoc
irb
gem
erb
Carlo
路路路
Subject: uninstall Ruby 2.0 installed from source
Date: mar 09 apr 13 04:39:41 +0900
--
* Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe
* di parlare tanto di amore e di rettitudine? (Chuang-Tzu)
1.9ish installs left a hidden file in the root directory indicating all
installed files. I do not know whether that is the same with Ruby 2.0 but
if it is still there (and not removed by your "make distclean") that could
help.
Kind regards
robert
路路路
On Tue, Apr 9, 2013 at 12:38 PM, marco tiraferri <lists@ruby-forum.com>wrote:
Thanks Carlo,
make clean and makd distclean did some work, make clean-platform has
responsed with error.
deleted manually the /usr/local/lib/ruby
didn't found the executables in /usr/local/bin ..maybe they was removed
by the make clean action???
the ruby -v command now response /usr/local/bin/ruby: no such file or
directory
the package was removed, maybe something dirty is still presents.
the ruby -v command now response /usr/local/bin/ruby: no such file or
directory
the package was removed, maybe something dirty is still presents.
Must be the shell hash cache. Type
hash -r
or logout & login again.
Carlo
路路路
Subject: Re: uninstall Ruby 2.0 installed from source
Date: mar 09 apr 13 07:38:58 +0900
--
* Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe
* di parlare tanto di amore e di rettitudine? (Chuang-Tzu)