diff options
author | David Cabo <david@calibea.com> | 2012-05-28 12:58:02 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2012-05-28 12:58:02 +0200 |
commit | bc681f7270f5ddc40279981a15a0a7c7af250293 (patch) | |
tree | 5df68fe9a0a756d9821c560079271ed363bd3f18 /script/rails-post-deploy | |
parent | ba29eab41f51f3f489be7c5daf6d28449eab944f (diff) | |
parent | acde8a57e087d3058b8539e04c12e790866f8451 (diff) |
Merge branch 'develop' of github.com:sebbacon/alaveteli into develop
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index 6e2c88d28..575b995f9 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -76,17 +76,28 @@ fi if [ "$OPTION_STAGING_SITE" = "0" ] then - bundle install --without development:test --deployment + bundle exec bundle install --without development:test --deployment else - bundle install + bundle exec bundle install fi +if [ -n "$OPTION_THEME_URLS" ] +then + for THEME in "${OPTION_THEME_URLS[@]}" + do + echo "Installing $THEME..." + script/plugin install --force $THEME + done +fi + +# Old version of the above, for backwards compatibility if [ -n "$OPTION_THEME_URL" ] then + echo "Installing $OPTION_THEME_URL using deprecated THEME_URL..." script/plugin install --force $OPTION_THEME_URL fi # upgrade database -rake db:migrate #--trace +bundle exec rake db:migrate #--trace |