1

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?

2 Answers 2

0
  • rename c:\ruby
  • Install latest version of ruby
  • Overwrite C:\ruby\lib\ruby\gems
  • 'gem update' (at your command line) to update your gems.
1

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

3
  • 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, 2011 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 Mar 27, 2011 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, 2012 at 2:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .