Skip to content

Instantly share code, notes, and snippets.

@abstrctn
Created December 6, 2012 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abstrctn/4225557 to your computer and use it in GitHub Desktop.
Save abstrctn/4225557 to your computer and use it in GitHub Desktop.
Rebuild + install a gem under development to your current gemset
#!/bin/bash
cd ~/code/$1;
v="`gem build $1.gemspec | grep -o '\(\d\+\.\d\+\.\d\+\)$'`";
cd -; gem install ~/code/$1/$1-$v.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment