Rails Install Mac Osx

Installing Rails on Mac OSX by Eric on February 1, 2020

When developing for Ruby on Rails the first thing you'll need to set up your development environment. This guide will be for installing things on Mac OSX and would be similar for Linux. These are my notes from experience setting up a Rails environment based on The Rails Tutorial by Michael Hartl. New Rails Installation on OSXInstall Git Checks if git is installed and if it isn’t it will install it $ gitInstall Ruby (Already installed) Checks Ruby version, already installed on OSX $ ruby -vInstall RVM RVM is for multiple Ruby on Rails environments for different projects. $ curl -sSL https://get.rvm.io | bash -s stableInstall RVM Requirements $ rvm requirements NOTE: 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/usrCreate .gemrc This fi...