diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
commit | 37bff4c0154b57b35a3194a9b31a9422496b955b (patch) | |
tree | 61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /script/rails-post-deploy | |
parent | 8b49dc894066e452232cabd09333895487f86986 (diff) | |
parent | 8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff) |
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index d9e9bb3f1..2bf098c5d 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -74,6 +74,13 @@ then echo "ENV['RAILS_ENV'] ||= 'production'" > config/rails_env.rb fi +if [ "$OPTION_STAGING_SITE" = "0" ] +then + bundle install --deployment +else + bundle install +fi + if [ -n "$OPTION_THEME_URL" ] then script/plugin install --force $OPTION_THEME_URL |