Created
May 24, 2011 20:47
-
-
Save soupmatt/989630 to your computer and use it in GitHub Desktop.
Sick of how long bundle install takes, just to find out you don't need any new gems?
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 | |
bundle check | |
if [[ $? = 1 ]] ; then | |
bundle install $@ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep. I had put this in the onscreen .rvmrc
gus@jaknowlden:mother[master]> cat apps/onscreen/.rvmrc
Besides the bundle check and install, the .rvmrc makes sure bundler is installed.