Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’m trying to start a new project with RadiantCMS, but I’m having lots of problems, because in the server are 2 different Ruby installations.

The first one, was installed following this tutorial and the second is via RVM.

Please, can somebody guide me to uninstall this the correct way.

share|improve this question
    
The general approach is to identify where files are installed (or carefully record that at the time of installation) and remove them. Re-run the installers you used and save the output. I've heard some bad things about ruby deployment, and clearly there is room for improvement. – Ярослав Рахматуллин Apr 8 '13 at 17:00
    
thnks, that is what I do, checl all the folders etc etc.. remove it and reinstall... thanks! – Locke Apr 8 '13 at 19:08
    
FWIW, both of your installs are via RVM. So if you want to ditch RVM, just run this command, rvm implode and then check for RVM references in .bashrc, .bash_profile and .profile and remove or comment them out as needed. – JakeGould Oct 1 '15 at 22:56

Actually you can switch ruby versions with the following commands:

rvm install ruby_version

After the installation, we can list the available Ruby versions we have installed by typing:

rvm list

We can switch between the Ruby versions by typing:

rvm use ruby_version

We can use various Rails versions with each Ruby by creating gemsets and then installing Rails within those using the normal gem commands:

rvm gemset create gemset_name    # create a gemset
rvm ruby_version@gemset_name  # specify Ruby version and our new gemset
gem install rails -v rails_version   # install specific Rails version
share|improve this answer
    
Nice first answer! Welcome to the site. – JakeGould Oct 1 '15 at 22:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.