I set up a Ruby development environment on Mac using RVM, so here’s a memo. (Last updated: 2013/07/09)
・RVM: Ruby Version Manager - RVM Ruby Version Manager - Documentation
The following command will batch install RVM, Ruby, and Rails:
curl -L get.rvm.io | bash -s stable --autolibs=homebrew --rails --trace
Also, by specifying —autolibs=homebrew, it will install dependent libraries as packages using Homebrew.
・RVM: Ruby Version Manager - autolibs option
After installing rvm, restart the console or start rvm with the following command:
source ~/.rvm/scripts/rvm
That’s all from the Gemba.