I have to upgrade from ruby 1.8.7 to ruby 1.9.3; I'm trying to install refinery cms and it uses truncate_html gem, which depends on ruby (>= 1.9). I've installed ruby 1.9.3-p374 without removing ruby 1.8.7.
I've used the command rvm --default use 1.9.3
and it issued the result
Using /usr/share/ruby-rvm/gems/ruby-1.9.3-p374
but when i type ruby -v
it was again 1.8.7.
How can I upgrade to ruby 1.9.3?