Ruby version problem
Debian Squeeze Virtual Server
I've been trying to create a ruby on rails environment for the getontracks.org application, but I've got my ruby versions messed up so I'm not sure what I'm running Code:
root@irvken:/home/sean# ruby -v Code:
root@irvken:/home/sean# ruby Code:
root@irvken:/home/sean# ruby1.8 So how can I get back to a clean system to start again, or fix this one? |
What's the output of
Code:
dpkg -l '*ruby*' |
Quite a lot
Code:
root@irvken:/home/sean# dpkg -l '*ruby*' |
you can exclude 'un' lines, they are uninstalled:
Code:
COLUMNS=200 dpkg -l '*ruby*' | grep -v '^un' Code:
dpkg-reconfigure ruby1.9.1 |
Thanks, that was useful. I've now uninstalled nearly everything relevant but still get misinformation from : ruby -v . Is this the best I'll be able to clean it up?
Code:
root@irvken:/home/sean# dpkg -l '*ruby*' |
there shouldn't be any 'ruby' on your computer. try this:
Code:
which ruby |
Code:
root@irvken:/home/sean# which ruby |
It means you have compiled ruby from source on 8th Jan, and installed it into /usr/local/bin -- it has nothing to do with dpkg.
|
ok, makes sense. Can I just delete the ruby binary then?
|
Try to refresh your memories: did you compile and install ruby on 8th Jan, or not? If so, you can safely delete it; otherwise it had to be someone else -- try to find out who it was.
|
I think it's very probable that I did
Code:
root@irvken:/home/sean# ruby |
All times are GMT -5. The time now is 09:48 PM. |