Locally build and install GitHub gems
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION.yml
github-gem-build.gemspec

README.rdoc

github-gem-build

This is a quick utility to allow you to locally build and install gems from Github repositories when they are not building correctly.

The script simply clones a repository, changes the gemspec so that the name matches what GitHub would use (with the repository owner name prefixed), builds the gem locally and installs. All this with a simple command:

github-gem-build owner repository

It also validates the gemspec using the same code that GitHub recommends for testing if you are having problems.

Things to do

Make it work properly on Windows (removing the sudo call if it is running on Windows, fixing the fact that File.join uses '/')

Support multiple gem versions based on tag or repository history and gemspec changes.

Intall

I packaged it as a gem so that you could just install it through the gem install command:

sudo gem install jeffrafter-github-gem-build

Copyright

Copyright © 2009 Jeff Rafter. See LICENSE for details.