How do I uninstall a ruby version installed via source?
Posted
by
Aaron McIver
on Super User
See other posts from Super User
or by Aaron McIver
Published on 2012-09-30T22:02:50Z
Indexed on
2012/10/03
9:40 UTC
Read the original article
Hit count: 244
I installed a version (1.9.3-p194) of ruby via source using make install
and realized this may have been the wrong route to take. Upon doing this, I realized this was a mistake and I should be using a solution such as rvm to address my ruby versions within the OS.
I looked to see if an uninstall
existed to be ran in conjunction with make
and it didn't.
I then proceeded to install rvm and add the aforementioned version in to my list of managed rubies within rvm which is not listed as ext-ruby-1.9.3-p194.
rvm rubies
ext-ruby-1.9.3-p194 [ x86_64 ]
=* ruby-1.9.3-p194 [ x86_64 ]
# => - current
# =* - current && default
# * - default**
When I perform an rvm remove, it simply removes it from the rubies list however it still exists within /usr/local/bin
. I am not concerned with the system install ruby version residing in /usr/bin
as I understand that is tied to the OS and should simply be ignored.
How can I safely uninstall/remove the aforementioned version and all the places in which it was installed, short of looking at the install
script?
© Super User or respective owner