technonaturalist

image link to hive image link to ko-fi

Webmonkey notes - rails command not working after successful rails install

posted on: Saturday, 5 April 2014 @ 1:15pm in
tagged

Latest ruby:

sudo brew update sudo brew install ruby

OSX developer command line tool thingies:

xcode-select --install

Read the EULA and agree if you agree.

Latest sass:

sudo gem install sass -V

Rails:

sudo gem install rails -V

Why yes I do like to see what’s going on.

Edit ~/.bash_profile to include:

export PATH=/usr/local/Cellar/ruby/2.1.1/bin:$PATH

so that the system doesn’t have a cry about Rails not being installed after it just told you it successfully installed it.