-
If you aren't already using RVM, it's recommended you start.
-
Follow the instructions for installing RVM as a single user.
-
Create a
~/.gemrcfile with the following contents:gem: --no-ri --no-rdoc -
Execute
rvm notesfor information on needed packages for installing rubies. -
Install Ruby 1.9.2 with
rvm install 1.9.2
-
-
Fork the project to your own GitHub profile and clone it:
$ git clone git@github.com:YOURUSERNAME/TrapQueue.git -
Change directories to your cloned repo:
$ cd TrapQueue -
If you're using RVM, you'll be asked if you want to execute the project's
.rvmrc. Inspect the contents and say "yes." -
Create a new gemset:
$ rvm gemset create TrapQueue -
Change the current Ruby to this gemset:
$ rvm use 1.9.2@TrapQueue -
Install bundler with
gem install bundler. -
Run
bundlein the root of the project to install required gems. -
Copy
config/database.yml.exampletoconfig/database.ymland edit the settings to fit your setup. -
Run
rake db:createandrake db:migrateto setup your database. -
Run
rails sand visit http://localhost:3000/ to see if everything's working.
When new changes are made, you'll have to merge them into your fork.
-
Configure remotes:
$ git remote add upstream git://github.com/SinCityRuby/TrapQueue.git -
Pull in upstream changes:
$ git fetch upstream $ git merge upstream/master
For more detailed information, see the GitHub fork a repo help page.
Run bundle, rake db:migrate, and restart your web server.