Repository for Melbourne LevelUp RoboCop
Note: any commands run on the command line are prefixed with $
- you won't need to include the $
when running the command.
- Git
- Ruby 2.1.5
- For Windows - GitHub client
- For Mac OS X - GitHub client or Homebrew +
$ brew install git
- Roll it yourself - Official git packages
- Install Ruby
- use Homebrew to install chruby and ruby-install
- bootstrap your shell to include the chruby bindings (follow the instructions given by Homebrew)
- install Ruby 2.1.5:
$ ruby-install ruby 2.1.5
- Install bundler (Ruby dependency manager):
$ gem install bundler
- Install dependencies for the project:
$ bundle install
(this needs to be run from within the project directory)
- Install Ruby
- Use RubyInstaller - get Ruby 2.1.5 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
- Install bundler (Ruby dependency manager):
$ gem install bundler
(if this command fails with a SSL certificate error, see this answer on Stack Overflow for a solution) - Install dependencies for the project:
$ bundle install
(this needs to be run from within the project directory)
- Use your distro's package manager to install Ruby - try to get Ruby 2.1.5, otherwise install chruby and ruby-install and use them to install Ruby 2.1.5.
- Install bundler (Ruby dependency manager):
$ gem install bundler
- Install dependencies for the project:
$ bundle install
(this needs to be run from within the project directory)
$ bundle exec rake