rebuilding git-rails

Rebuilding Git-Rails

Install Git

On linux, install git-core using your favorite package management tool should do it.

On Mac OS, using Mac Port:

sudo port install git-core

clone the repositoty

git clone git://gitorious.org/git-rails/mainline.git

Make sure all the specs pass:

spec spec

I’m not sure why rake does not see the task and I’ll fix this shortly

Then have at it!

And to do a local install and try it out:

rake install

And uninstall

rake uninstall

git-rails uses hoe, so you have a lot more commands available

Share

Then once you have something you think would benefit others, create a clone and share it!

git-rails – Tools for using git with Ruby on Rails

Git-Rails

git-rails is a simple tool to help manage your rails app with git.

Currently, it provides 3 helpful commands:

Init

Initializes a git repository, and links to remote url if provided (for push/pull)
Also creates a .gitignore file with:

log/*.log
tmp/**/*
.DS_Store
public/cache/**/*
doc/api
doc/app

Example

git-rails init -m "message" -c git@gitorious.org:rur/mainline.git

Install

Installs a plugin (managed by git) from a remote git repository

Example

git-rails install git://gitorious.org/rur/mainline.git plugin-name

Update

Updates a plugin from original source

Example

git-rails update rur

Getting started

gem install git-rails

Helping out

The rubyforge git-rails project

The Gitorious git-rails repository

Rebuilding git-rails

If warranted, I’d be happy to create a mailing list, but for now, leave a comment on this page.