Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows 7 64-bit computer with ruby 1.8.7 installed and want to update to 1.9.2. I installed 1.8.7 by downlooading and runing Ruby Installer . How do I update to ruby 1.9.2 so ruby 1.9.2 replaces 1.8.7 so that there are not two versions of ruby on my computer?

share|improve this question

2 Answers 2

up vote 0 down vote accepted
  • rename c:\ruby
  • Install latest version of ruby
  • Overwrite C:\ruby\lib\ruby\gems
  • 'gem update' (at your command line) to update your gems.
share|improve this answer

Use https://github.com/vertiginous/pik/ to manage multiple versions of ruby on windows.

share|improve this answer
    
I don't want multiple versions of ruby just one. I want ruby 1.9.2 to replace 1.8.7 so I only have 1.9.2 on my windows machine. –  Ben Mar 27 '11 at 19:19
    
Having multiple versions isn't required with pik, it just makes it easier to manage ruby versions (even if you just have one version installed). If you don't want to use pik, uninstall 1.8.7 and use rubyinstaller.org to install 1.9.2 –  Christopher Manning Mar 27 '11 at 20:00
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  soandos Jul 16 '12 at 2:41

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.