/driver

LevelUp project template for Melbourne July 2014 program

Primary LanguageRuby

ThoughtWorks LevelUp presents

Driver

Repository for Melb Level Up Driver

Setup

note: any commands run on the command line are prefixed with $ - you won't need to include the $ when running the command

Prerequisites

  1. git
  2. Ruby 1.9.3-p547

Git setup

Ruby setup

Mac OS X

  1. Install Ruby
  • use Homebrew to install chruby and ruby-install
  • bootstrap your shell to include the chruby bindings
  • install ruby 1.9.3-p547 $ ruby-install ruby 1.9.3-p547
  1. Install bundler (Ruby Package manager): $ gem install bundler
  2. Install gem dependencies $ bundle install

Windows

  1. Install Ruby
  • Use RubyInstaller - get Ruby 1.9.3-p547 and the DevKit
  • Install Ruby via the installer (select all the additional options e.g. add ruby to path)
  • Follow the instructions to install the Devkit
  • For the rest of this guide, we assume you will use the Git Shell as your console application
  1. Install bundler (Ruby Package manager): $ gem install bundler
  2. Install gem dependencies $ bundle install

Linux

  1. Use your distro's package manager - try to get Ruby 1.9.3-p547 - otherwise get chruby and ruby-install(https://github.com/postmodern/ruby-install)
  2. Install bundler (Ruby Package manager): $ gem install bundler
  3. Install gem dependencies $ bundle install

Run the build

  1. $ bundle exec rake