Created
March 5, 2012 10:18
-
-
Save zhiyelee/1977750 to your computer and use it in GitHub Desktop.
hooks/post-receive.sh
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
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a she ll session *as a function* | |
GEM_PATH=$GEM_PATH:/usr/local/rvm/gems/ruby-1.9.2-p290 | |
PATH=$PATH:/usr/local/rvm/gems/ruby-1.9.2-p290/bin | |
GIT_WORK_TREE=$HOME/octopress/ git checkout -f | |
cd $HOME/octopress/ | |
bundle install | |
bundle exec rake generate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment