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?

link|improve this question

62% accept rate
feedback

2 Answers

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.
link|improve this answer
feedback

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

link|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
feedback

Your Answer

 
or
required, but never shown

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