How to uninstall locally installed ruby?

A

Artem Voroztsov

Linux.

1) Why there is no target 'uninstall' in Makefile (generated by ./configure)?
2) How to uninstall locally installed ruby?

I just compiled and locally installed version 1.9 and want to roll back to 1.8

Thanks!

Artem
 
T

Thomas Adam

Linux.

1) Why there is no target 'uninstall' in Makefile (generated by ./configure)?
Pass.

2) How to uninstall locally installed ruby?

Assuming you have the original source tree, you could do:

make -n install > ./somefile

And edit "somefile": s/cp|install/rm -fr/g -- as apropos, and then
run the file through your shell.

-- Thomas Adam
 
A

Artem Voroztsov

2008/3/31 said:
Assuming you have the original source tree, you could do:

make -n install > ./somefile

And edit "somefile": s/cp|install/rm -fr/g -- as apropos, and then
run the file through your shell.


-- Thomas Adam

Hmm. I'd prefer there was better way.

But thanks!
 

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,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top