Hallo,
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?
The server is a Ubuntu Server 8.04 LTS.
Thanks for any help!
Marco
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.
Marco
Subject: uninstall Ruby 2.0 installed from source
Date: mar 09 apr 13 04:39:41 +0900
Quoting marco tiraferri ([email protected]):
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
On Tue, Apr 9, 2013 at 12:38 PM, marco tiraferri
[email protected]wrote:
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.
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
Hi I have a similar question and I am new to ubuntu and ruby.
I have installed ruby 2.1.3 from source and ruby 1.9.3 from package
(sudo apt-get install ruby1.9.3).
Now I want to keep 1.9.3 and get rid of 2.1.3 version.
gem list
*** LOCAL GEMS ***
bigdecimal (1.2.4)
io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.1.0)
rdoc (4.1.0)
test-unit (2.1.3.0)
I tried to gem uninstall bigdecimal.
ERROR: While executing gem … (Gem::InstallError)
gem “bigdecimal” cannot be uninstalled because it is a default gem
ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
pkg-config --list-all | grep ruby
ruby-2.1 Ruby - Object Oriented Script Language
ruby-1.9 Ruby - Object Oriented Script Language
Should I remove ruby1.9.3 through package manager first and then trying
to manually delete /usr/local/bin/ruby. And then afterwards reinstall
1.9.3 through package manager?
Subject: Re: uninstall Ruby 2.0 installed from source
Date: mar 09 apr 13 07:38:58 +0900
Quoting marco tiraferri ([email protected]):
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