0

I used ruby-install to install ruby 2.3.1 , when I do a "ruby -v" it is still showing the older 1.9 version.

The instructions here https://github.com/postmodern/ruby-install is what I used to install ruby 2.3.1

Luka Kerr
  • 4,161
  • 7
  • 39
  • 50
peztherez
  • 3,751
  • 5
  • 20
  • 21
  • Did you restart your shell to pick up the updated path? – pjs Aug 01 '16 at 22:32
  • I looked for a .profile file and could not find one, "echo $PATH" shows me what is in the path but I can't figure out where its getting the path info from. I guess I don't know where ruby-install puts ruby when it installs it. – peztherez Aug 01 '16 at 22:35
  • That's all interesting, but you didn't answer the question - did you restart the shell? Shut down the old shell, fire up a new one? – pjs Aug 01 '16 at 23:10
  • I did do that and it did fix it, thanks for the help. – peztherez Aug 02 '16 at 14:41

0 Answers0