Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

How To Install Ruby on Rails on Mavericks (OSX 10.9)

October 26, 2013

Step 1: Install XCode Command Line Tools

xcode-select --install

Step 2: Install and prepare Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
brew doctor
brew update

Step 3: Install rbenv

brew install rbenv ruby-build openssl
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile

Step 4: Install Ruby

How To Install Ruby on Rails on Mavericks (OSX 10.9)

Vim Commands You Need to Know: Episode 1

October 08, 2013

Most people who have spent any time using the command line have learned to use vim well enough to edit conf files: moving the cursor, entering insert mode, and saving and quitting the file :wq. I know because I was one of those people for years. It wasn't until I found a few magical commands that I truly understood why vim was a true competitor in a world of IDE's and Textmate clones.

Vim Commands You Need to Know: Episode 1

Vim Find and Replace in Project: Episode 2

October 06, 2013

A while I ago I posted about an efficient way to do find and replace in files.

:args `ack -l keywords`
:argdo %s/keywords/replacement/ge | update
Vim Find and Replace in Project: Episode 2

Installing Ruby 2.0.0 on OSX 10.8 Mountain Lion

May 26, 2013

Step 1: Install and prepare Homebrew

ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
brew doctor
brew update
brew install apple-gcc42

Step 2: Install rbenv

brew install rbenv ruby-build openssl
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile

Step 3: Install Ruby

rbenv install 2.0.0-p0
rbenv rehash
rbenv global 2.0.0-p0
rbenv shell 2.0.0-p0
Installing Ruby 2.0.0 on OSX 10.8 Mountain Lion