I just downloaded Ruby 2.0.0 using RubyInstaller, but Ruby -v still says I'm running 1.9.3. What am I doing wrong?

I am running Windows 7 (which I know is not ideal, but is what I'm currently stuck with), and I have successfully run Ruby in the past.

Thanks!

3

There are 3 best solutions below

0
On BEST ANSWER

I did a combination of several answers here, including:

  • Uninstalling old versions of Ruby and reinstalling version 2.0.0
  • Update the path Environment variable to the new path
  • Restart the computer (I think this is what I was missing the whole time)

Thanks to everyone who helped!

0
On

first uninstall all your rubies and then install ruby 2.0, you cannot maintain two versions of ruby without RVM or RBENV.

7
On

Checkout the PATH environment variable. Most likely it contains path to ruby1.9.3/bin. Change it to point to ruby2.0/bin