Created
June 10, 2011 15:42
-
-
Save whilefalse/1019087 to your computer and use it in GitHub Desktop.
Bundle install git post-merge hook
This file contains 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 | |
if [ ! -z `git diff --name-only HEAD@{1}..HEAD Gemfile` ] | |
then | |
echo -e "\033[0;31m*** Gemfile change detected, running bundle install ***\033[0m" | |
bundle install | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment