-
Notifications
You must be signed in to change notification settings - Fork 47
Setup Ruby (OS X and Windows)
acanyon edited this page Mar 13, 2013
·
7 revisions
- 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.
- Start by installing git, and creating a github account if you don't have one already
brew install git
- Follow the [instructions] (http://help.github.com/set-up-git-redirect) 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] (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
- Install [RVM] (https://rvm.beginrescueend.com/) using
(totally untested steps at the moment..)
- Download & install the windows RailsInstaller
- Follow the same steps as above to set up git for yourself, if you haven't already (RailsInstaller installed it for you)
- 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.
To develop your own ConnectFour app, you should start by forking this repo.