Railsbridge Installfest

Contents

Site List

OS X Lion

Step 1: Open Terminal

Look for Terminal.app inside Applications -> Utilities.

Add it to your dock; you'll be using it a lot. (To add it to the dock, click and hold the dock icon once Terminal is open. Select options -> keep in dock.)

Arrange your windows so that Terminal and your web browser are next to each other. You will want to read from your browser and type into your terminal at the same time.

Step 2: Install A Compiler (XCode or GCC)

Step 3: Install Homebrew

Type this in the terminal:
which git
Expected result:
/usr/bin/git

If you get the result above skip to: Install RVM

Step 4: Install Git

Next we'll install Git, the most popular version control system in the Ruby world:

Type this in the terminal:
brew install git

Verify

Type this in the terminal:
git --version
Approximate expected result:
git version 1.x.x
The greyed-out text may differ and is not important.

Step 5: Install RVM, the Ruby Version Manager

Step 6: Install Rails

Type this in the terminal:
gem install rails

Verify

Type this in the terminal:
rails -v
Approximate expected result:
Rails 3.2.x
The greyed-out text may differ and is not important.

Step 7: Install KomodoEdit

We'll be using the KomodoEdit text editor during the workshop, though you are free to use a different editor if you prefer. It must be a plain-text editor, such as vi or TextMate. Microsoft Word and other word processing programs won't work.

When in doubt, use KomodoEdit.

Verify successful installation

Type this in the terminal:
which git
Expected result:
/usr/bin/git
Type this in the terminal:
which ruby
Approximate expected result:
/Users/alex/.rvm/rubies/ruby-1.9.3-p290/bin/ruby
The greyed-out text may differ and is not important.
Type this in the terminal:
which rails
Approximate expected result:
/Users/alex/.rvm/gems/ruby-1.9.3-p290/bin/rails
The greyed-out text may differ and is not important.

Step 8: Generate an ssh public key

Step 9: Congratulations!

You have everything you need to write a Ruby on Rails application.

Next Step:

Railsbridge Docs

Source: https://github.com/railsbridge/docs