Warm-Up Exercises

Setup

Clone this repository.

git clone git@github.com:JumpstartLab/warmup-exercises.git

Ruby

$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled

JavaScript & CoffeeScript

$ brew install node
$ npm install jasmine-node -g

Update the ~/.bash_profile to include NPM binary files on the PATH:

export PATH=/usr/local/share/npm/bin:$PATH

Execution

Ruby

$ cd WARMUP
$ ruby test.rb

JavaScript

$ cd WARMUP
$ jasmine-node test.spec.js

CoffeeScript

Jasmine-Node favors JavaScript files over CoffeeScript (even with the differing file endings) so the test file named is named differently.

$ cd WARMUP
$ jasmine-node --coffee coffee.spec.coffee