Search code examples
rubyinstallationrbenv

Why does installing Ruby with rbenv fail?


I followed this guide: http://samsoff.es/posts/how-to-install-ruby-193

I typed rbenv install 1.9.3-p125 in the console.

Ruby installs OK but when I run ruby -v it still says version 1.8.7.

What needs to be changed for it to work?


Solution

  • The solution was to add eval "$(rbenv init -)" to my bash_login file.