Sebastjan H. wrote in post #1052359:
I know, that was my first reaction too, however, I do have 1.9 installed >…
But when I prompt
for ruby version I get: ruby 1.8.7 (2011-06-30 patchlevel 352)
[i686-linux]
So do I have to manually remove/delete 1.8? I’ve searched this forum,
but I am still not sure how to.
hi Seba,
did you install both through the package manager? if so, 1.8.7 will
still be the default. i had this problem myself!
i believe that there are ways to change your environment variables, so
that 1.9.x is the default, but i have to apologize for not knowing
them…
i use rvm, which keeps everything nice and organized, and lets you
switch easily between ruby versions… the installation seems a little
complicated, but it’s really not that bad - here are some links:
http://beginrescueend.com/rvm/basics/
http://beginrescueend.com/rvm/install/
the bash profile
referred to in the installation instructions should
be (if you’re using ubuntu) a hidden file in your home directory called
“.bashrc” . enable the ‘show hidden files’ option in the view menu of
nautilus to see it. be careful with it, maybe make a copy before
messing with it too much!
once you’ve got rvm installed, and both 1.8.7 (pre-requisite) and
1.9.3 installed through rvm, install green shoes with:
$ use 1.9.3
$ gem install green_shoes
make sure to not use sudo gem install green_shoes
- you want the
gems installed through rvm, not your system ruby.
you can also set the rvm 1.9.3 to be the default ruby version when you
open a terminal like this:
$ rvm --default use 1.9.3
good luck!