diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-02-22 13:48:11 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-02-22 13:48:11 +0000 |
commit | e7938406d918ce362642c372186cd4c43801dc29 (patch) | |
tree | 6023f149909b0ec25239a557a0d8fbbb88bceda9 /script/rails-post-deploy | |
parent | d28d155f5e67fa7a748a9e2ea47f83c46a963496 (diff) |
cause the post-deploy process to run "bundler install"
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index d9e9bb3f1..4df37db34 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -78,7 +78,12 @@ if [ -n "$OPTION_THEME_URL" ] then script/plugin install --force $OPTION_THEME_URL fi - +if [ "$OPTION_STAGING_SITE" = "0" ] +then + bundle install --deployment +else + bundle install +fi # upgrade database rake db:migrate #--trace |