Skip to content

Setup Ruby (OS X and Windows)

acanyon edited this page Mar 13, 2013 · 7 revisions

Base Install - OS X

  1. Install Brew
    • ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
  2. On a mac (Lion+ ?), you must have the Xcode Command Line Tools installed. Install this if you haven't already.
  3. Start by installing git, and creating a github account if you don't have one already
  4. We will be using RVM (Ruby Version Manager) to manage our ruby versions and gemsets.
    • Install [RVM] (https://rvm.beginrescueend.com/) using curl -L get.rvm.io | bash -s stable
    • After installation, open your .bashrc and add this line to it.
      • open ~/.bashrc
      • add => source ~/.rvm/scripts/rvm to the bottom of the file
      • save and close
    • Install Ruby 1.9.3 with rvm install 1.9.3
    • And set this version as the default rvm 1.9.3 --default

Base Install - Windows

(totally untested steps at the moment..)

  1. Download & install the windows RailsInstaller
  2. Follow the same steps as above to set up git for yourself, if you haven't already (RailsInstaller installed it for you)
  3. After forking & cloning this project, see if you can cd into the project directory & successfully run bundle install

If not, that means my suspicions about the ruby/rails version packaged in RailsInstaller are probably correct and we should talk about ways to fix it.

Working with this project

To develop your own ConnectFour app, you should start by forking this repo.

Clone this wiki locally