Skip to content

Instantly share code, notes, and snippets.

@robbyrussell
Created May 10, 2011 16:57
Show Gist options
  • Save robbyrussell/964886 to your computer and use it in GitHub Desktop.
Save robbyrussell/964886 to your computer and use it in GitHub Desktop.
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