-
-
Save abstrctn/4225557 to your computer and use it in GitHub Desktop.
Rebuild + install a gem under development to your current gemset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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