Skip to content

Installation & Preparation

Andrewmp1 edited this page Nov 14, 2012 · 1 revision

Prerequisites

This guide to getting set up is based on these prerequisites:

  • Mac OSX
  • Ruby 1.9.x
  • Phantomjs (for running tests)

Preparation

Xcode

Install Xcode and the necessary SDK for development (gcc, various tools, libraries, etc).

rvm

Use rvm to keep your entire Ruby/Gem installation for this project separate from your others if you haven't already.

To install:

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

Install Ruby 1.9.3-p125 and the Ruby Gems

Using rvm:

rvm install ruby-1.9.3-p125
rvm use ruby-1.9.3-p125

phantomJS

phantomJS is a headless WebKit with JavaScript API. We're going to use it as a javascript engine for running unit tests.

brew install phantomjs

Installation

Now, with the prep work finished, we can install the application.

Cloning and Your Jargon Setup

git clone git@github.com:OC-Emberjs/yourjargon.git
cd yourjargon

This will cause rvm to ask you to confirm whether you want to use the .rvmrc file. Affirm positively as many times as you need to.

gem install bundler --no-ri --no-rdoc
bundle install