installed ruby using apt-get install ruby 2.0.0 succeeded but not using correct ruby version
- 阅读更多 关于 installed ruby using apt-get install ruby 2.0.0 succeeded but not using correct ruby version
问题 Hi I am really new to linux. I am currently deploying an app on digital ocean so I am switching to linux ox temporarily. I did sudo apt-get install ruby 2.0.0 and installed correctly but when I do ruby-v I am getting the 1.8.7 version. I am sure that the old version is prepackaged with mint. How do I switch to ruby 2.0.0 in my bash profile or the linux startup files? 回答1: If you're new to linux I'd recommend using something like RVM (Ruby Version Manager) to install ruby. It makes it easier