Get the newest version with favorite ruby version manager rvm.
You must install libyaml because Ruby 2.0 deprecated syck in favor of psych.
Make sure you have the latest RVM:
rvm get stable
Execute following command from terminal after installing RVM:
# For Mac with Homebrew
brew install libyaml
# For Ubuntu systems
apt-get install libyaml-dev rvm pkg install openssl rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr --verify-downloads 1 rvm use 2.0.0 rvm use 2.0.0
OR Simply use following
rvm get stable && rvm install ruby-2.0.0
No comments:
Post a Comment