I have tried to update my ruby version many different ways, reading
forums and the like, and every time, it looks like the
installation/upgrade completes without errors, but when I run ruby-v, it
still spits out ruby 1.8.7 instead of 1.9.2.
The latest that I have tried was to download the newest version of Ruby
from ruby-lang.org.
Then ran autoconf on the folder.
Then ./configure --program-suffix=19 --enable-shared
--with-readline-dir=/usr/local .
(which was code I found from someone's blog on installing 1.9.1)
Then make && sudo make install
This didn't update the version.
I have tried everything that I know how to do in Terminal and by
following instructions. Anyone have any ideas?
I have tried to update my ruby version many different ways, reading
forums and the like, and every time, it looks like the
installation/upgrade completes without errors, but when I run ruby-v, it
still spits out ruby 1.8.7 instead of 1.9.2.
The latest that I have tried was to download the newest version of Ruby
from ruby-lang.org.
Then ran autoconf on the folder.
Then ./configure --program-suffix=19 --enable-shared
--with-readline-dir=/usr/local .
(which was code I found from someone's blog on installing 1.9.1)
Then make && sudo make install
This didn't update the version.
What you've got above will install ruby 1.9 as ruby19 (and irb is
irb19 etc.) so running just ruby -v will get you 1.8.7
I have tried everything that I know how to do in Terminal and by
following instructions. Anyone have any ideas?
rvm is by far the easiest way of handling multiple ruby versions
+1 for RVM. There is literally no substitute for the simplicity, the documentation is excellent, and it’s really on its way to becoming the defacto standard for Ruby deployment (perhaps in competition on MacOS with Homebrew). See http://rvm.beginrescueend.com/ for more information.