There are a lot of ways of installing ruby, one way is using Rbenv (https://github.com/sstephenson/rbenv). Its also available in Homebrew for Mac users.
Another way is using RVM (http://rvm.io/rvm/install):
Install RVM stable with ruby:
There are a lot of ways of installing ruby, one way is using Rbenv (https://github.com/sstephenson/rbenv). Its also available in Homebrew for Mac users.
Another way is using RVM (http://rvm.io/rvm/install):
Install RVM stable with ruby: