Skip to content

Instantly share code, notes, and snippets.

@robbyrussell
Created May 10, 2011 16:57
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
post-checkout hook to reload bundler and restart passenger
#!/bin/sh
#
# Just save this as .git/hooks/post-checkout in your Rails application
#
env ARCHFLAGS="-arch x86_64" bundle install
touch tmp/restart.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment