Check which version of Ruby is installed?
How can I check which version of Ruby is installed on my CentOS 5.6 server?
|
Code:
ruby -v Code:
~$ ruby -v jdk |
Thanks, that worked.
Code:
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] |
You haven't told anyone what distro you're using so I can't really say. Use your package manager (aptitude, yum or something else) and download the latest package. How do you update your machine in general?
jdk |
doesn't work for me
I'm pretty sure I have removed all vestiges of ruby from my system but "ruby -v" returns misinformation
Code:
root@irvken:/home/sean# ruby -v |
Quote:
Code:
which ruby Might be you think you got it but did not. |
Code:
root@irvken:/home/sean# which ruby |
what does the following command return?
Code:
aptitude search ruby1.9.3 Code:
sudo aptitude remove ruby1.9.3 jdk |
ok it's not installed , what does the v stand for?
Someone else suggested I must have compiled a copy of ruby (which is probable), can I just delete the binary then? |
From the Aptitude guide:
Code:
i - the package is installed and all its dependencies are satisfied. Yes, /usr/local/bin is the normal location for things you have compiled yourself. It should be safe to remove it. jdk |
All times are GMT -5. The time now is 08:45 PM. |