Hello guys, I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 and i want to uninstall ruby 1.9.1 version.I need Your help thank you!
on 2013-01-03 04:15
on 2013-01-03 04:20
On Wed, Jan 2, 2013 at 9:15 PM, Nirav Bhatu <lists@ruby-forum.com> wrote: > I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 > and i want to uninstall ruby 1.9.1 version.I need Your help thank you! Are they rvm-managed versions?
on 2013-01-03 05:05
> I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 > and i want to uninstall ruby 1.9.1 version.I need Your help thank you! Ubuntu is your prison. Do not try to break out of the prison. I did and switched to a GoboLinux approach. Every program will have a versioned standalone directory. My rubies would reside under: /Programs/Ruby/1.8.7 /Programs/Ruby/1.9.1 etc.. Symlinks govern which one would be active at any one point, the others are "hidden". This is what RVM does under the hood as well, except it only manages ruby versions, whereas the gobolinux approach manages all programs. The reason that Ubuntu can not use this is because in the /usr prefix, no same binary file can exist (nor same library file, but they solve this by having versioned .so files, i.e. foobar-1.0.so.1.3) Anyway, the point is this: This is a question you must ask Ubuntu. Ubuntu forces you to either use their way, or the highway. I took the highway and stopped using the archaic crippled way of distributions. As far as I know, ubuntu uses /etc/alternatives, so perhaps there is a way for you to make use of that. But other than that, you should accept that you have a crippled system, and it is the job of Ubuntu to tell you how to work around its limitations. RVM was suggested as alternative, which is ok - it will use your HOME directory, with versioned directories, so this is fine. If you want to go the hard way and really remove 1.9.1 then do this: in /usr/bin, remove ruby*1.9*, also irb*1.9* etc.. in /usr/lib, look for ruby site lib. For some reason it could also be in /usr/local/lib - which is a violation of the FHS btw. Ubuntu does not care about any standards at all. Anyway, look at the site directory, find the 1.9* directory and remove it - only 1.8 will remain. Then your ruby should work. This is how I install ruby on a new system btw. I first compile into /Programs/Ruby/VERSION_HERE, then symlink into the /System/ hierarchy (which is a substitute for /usr/bin /usr/lib etc.., with subdirectories on its own), then I get rid of the host ruby. Then I use my script to compile a linux from scratch, and slowly eliminate all of the host binaries (my scripts do not work 100% reliably yet, I must still manage parts of this process on my own... but one day it will be reliable and fully automatable)
on 2013-01-03 05:51
tamouse mailing lists wrote in post #1090878: > On Wed, Jan 2, 2013 at 9:15 PM, Nirav Bhatu <lists@ruby-forum.com> > wrote: >> I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 >> and i want to uninstall ruby 1.9.1 version.I need Your help thank you! > > Are they rvm-managed versions? no..
on 2013-01-03 05:54
On Thu, 3 Jan 2013, Nirav Bhatu wrote: > tamouse mailing lists wrote in post #1090878: >> On Wed, Jan 2, 2013 at 9:15 PM, Nirav Bhatu <lists@ruby-forum.com> >> wrote: >>> I am using Ubuntu 11 and i have two versions of ruby 1.8.7 & 1.9.1 >>> and i want to uninstall ruby 1.9.1 version.I need Your help thank you! >> >> Are they rvm-managed versions? > > no.. run "sudo synaptic" and select the packages you want to remove? -- Matt It's not what I know that counts. It's what I can remember in time to use.
on 2013-01-03 08:02
On Wed, Jan 2, 2013 at 10:54 PM, Matt Lawrence <matt@technoronin.com> wrote: >>> >>> Are they rvm-managed versions? >> >> >> no.. > > > run "sudo synaptic" and select the packages you want to remove? > > -- Matt What he said.
on 2013-01-03 14:54
Nirav Bhatu wrote in post #1090877: > I am using Ubuntu 11 If it's Ubuntu 11.04 then you are dead in the water anyway. You need either to upgrade twice (to 11.10 then 12.04) or reinstall 12.04 from scratch. Ubuntu 11.10 is still supported (just); you have until April to upgrade to 12.04. Once you are on 12.04 then your platform is supported until Apri 2017. https://wiki.ubuntu.com/Releases
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.