Ruby 2.1 and Rails 4.0 for Mac
From Ruby on Rails4.0 Guide
curl -L https://get.rvm.io | bash -s stable --rails
In my case, failed twice.
One is home brew version.
To fix that, you need to update brew
One is gem fetch. I don’t know how to fix.
This commands install ruby2.1 and rails4.0 or other ralated gems
I need to close terminal and open again.
Log says that sometimes reopening terminal is required.
sudo gem install rails