mpalmer/giddyup — Issue #3: not really an issue, but may help others
Author: cleesmith
Created: 2011-12-22 05:57:47+00:00
State: open

I'm using RVM and gemsets for each app in production and I like giddyup (without the hat even),
but my stop hook wasn't running bundler ... it couldn't find it.
I am no *nix expert but It works when I place this at the top of my hook file:

#!/bin/bash
export RAILS_ENV="production"
source "/usr/local/rvm/scripts/rvm"

... the "#!/bin/bash" seemed necessary for it to do "source ..." .

The git push output even reminds me of heroku.

I just thought this might someone else from googling.
Thanks for this.