Setup Ruby (OS X and Windows)
Clone this wiki locally
TODO: Linux instructions
Base Install - OS X
Install by hand
Follow these instructions for minimal cruft and if you're a little familiar with the command line already.
- Install Brew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
- On a mac (Lion+ ?), you must have the Xcode Command Line Tools installed. Install this if you haven't already. You can find them on Apple's developer tools, and you have to sign up as an Apple developer. Look for the most recent version of Command Line Tools for your OS version.
- Start by installing git, and creating a github account if you don't have one already
brew install git
- Follow the instructions to setup your github account with an ssh key
- We will be using RVM (Ruby Version Manager) to manage our ruby versions and gemsets.
- Install RVM using
curl -L get.rvm.io | bash -s stable
- After installation, open your .bashrc and add this line to it.
- add =>
source ~/.rvm/scripts/rvmto 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
- Install RVM using
Install with RailsInstaller
Follow the instructions on Railsbridge's Installfest page, UNTIL the heroku instructions. Those are optional for the connect four project.
Type the following lines into the command line and check for the expected responses. Version numbers don't have to be exactly the same.
Base Install - Windows
- We recommend using the Railsbridge instructions for windows. They use the RailsInstaller for windows, which is the most recommended windows rails install. Go to the installfest page and follow the instructions UNTIL the heroku instructions. Those are optional for the connect four project.
- After forking & cloning this project, see if you can cd into the project directory & successfully run
- If it doesn't run successfully, try commenting out (# at the beginning of the line) the line in the
Gemfileabout twitter bootstrap and trying again.
Working with this project
Start by forking this repo and cloning it to your computer.
Then, head over to the project starter page!