aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-05-31 09:39:29 +0100
committerRobin Houston <robin.houston@gmail.com>2012-05-31 09:39:29 +0100
commit845575c3a5f4b6d1d4fa14fdce3908c2e1f7169b (patch)
tree898e7679c276737e6218bbe5973ef36157dded2a /script/rails-post-deploy
parentc8e1af1d9885ad1cc0dc6d567f99be10b48413ec (diff)
local can only be used in a function
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-xscript/rails-post-deploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index 2b66673c5..a2761ecbc 100755
--- a/script/rails-post-deploy
+++ b/script/rails-post-deploy
@@ -74,7 +74,7 @@ then
echo "ENV['RAILS_ENV'] ||= 'production'" > config/rails_env.rb
fi
-local bundle_install_options
+bundle_install_options=""
if [ "$OPTION_STAGING_SITE" = "0" ]
then
bundle_install_options="--without development:test --deployment"