Installing Rails on Mac OSX
Install Git
Checks if git is installed and if it isn’t it will install it$ git
Install Ruby (Already installed)
Checks Ruby version, already installed on OSX$ ruby -v
Install RVM
RVM is for multiple Ruby on Rails environments for different projects.$ curl -sSL https://get.rvm.io | bash -s stable
Install RVM Requirements
$ rvm requirementsNOTE: RVM tries to install gcc46 which is an older version of gcc on OSX. Mavericks already has gcc installed so install the list that appears except gcc. It also can install but take a VERY long time so just be patient and see.
Tell RVM where OpenSSL is
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr
Create .gemrc
This file stops the installation of Ruby docs, the text below goes in .gemrcinstall: —no-rdoc —no-ri update: —no-rdoc —no-riInstall Rails
$ gem install railsYou should be ready to create your environment and install your Gems. If I've missed anything, or you have problems, let me know in the comments below and I will update this list.
Comments
Join the discussionNo comments yet. Be the first to comment.




