2011-07-14 19:50:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-08-27 13:40:41 +00:00
|
|
|
if [ $(bundle exec rake -P | grep preflight_check | wc -l) -ne 0 ]; then
|
2012-08-15 20:17:21 +00:00
|
|
|
bundle exec rake preflight_check
|
|
|
|
R=$?
|
|
|
|
if [ $R -ne 0 ]; then exit $R; fi
|
|
|
|
fi
|
|
|
|
|
2012-04-20 18:52:57 +00:00
|
|
|
unset GIT_DIR
|
|
|
|
penchant gemfile remote --deployment
|
|
|
|
GIT_DIR=$OLD_GIT_DIR
|
|
|
|
git add Gemfile*
|
2011-07-14 20:51:54 +00:00
|
|
|
|
2012-08-27 13:40:41 +00:00
|
|
|
exit 0
|