uninstalling ruby

A

Andy Black

Hi,

I wonder if there is a way to uninstall ruby.
The network administrator who is installing ruby on our server put 5
different copies/versions on the server and now have trouble updating
the gems.
I read that there is no uninstaller for ruby. Is that true?
We just want to remove everything and restart again. Any help is
greately appreciated.

Many Thanks,
-Andy
 
J

John Gabriele

Hi,

I wonder if there is a way to uninstall ruby.

Depends upon the procedure followed when it was installed.

If you didn't change --prefix, then my guess is that uninstalling is
going to be tedious. Maybe folks here can offer some tips on what to
look for and delete from your /usr/local.
The network administrator who is installing ruby on our server put 5
different copies/versions on the server and now have trouble updating
the gems.
I read that there is no uninstaller for ruby. Is that true?

It's true that there's no "make uninstall" target.
We just want to remove everything and restart again. Any help is
greately appreciated.

Many Thanks,
-Andy

Assuming you're on GNU/Linux:

1. With great care, remove what got installed in /usr/local by the
previous installs.
2. Next time, install in, say, /opt by following the instructions at
http://wiki.rubygarden.org/Ruby/page/show/InstallingRuby under "Custom
Install on GNU/Linux". That way, uninstalling is as easy as "rm -fr
/opt/ruby-1.x.y".

---John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top