Download “Command Line Tools (OS X 10.10)” for Xcode 6.1.1 from https://developer.apple.com/downloads/index.action
I installed rvm for multi-user.
\curl -sSL https://get.rvm.io | sudo bash -s stable
This will automatically download and install homebrew for you.
Make sure the user who is installing this, has added “rvm” to their groups. You can do this under “System Preferences” –> “Users & Groups”. Go to rvm group, and check off the usernames you would like to add the group to. (make sure the lock the botton is unlocked).
Installing ruby version 2.1.5
rvm install 2.1.5
RVM will automatically grab all the dependencies, packages, and updates via homebrew.