From e0767b1a09d7357ed2b021deadd4d787d83ce450 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 10 Mar 2015 12:42:06 -0300 Subject: [PATCH] script/production: add missing `bundle exec` --- script/production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/production b/script/production index 17bd1c5..2299741 100755 --- a/script/production +++ b/script/production @@ -71,11 +71,11 @@ stop_via_pid_file() { environments_loop() { action="$1" - environments=$(find ./config/environments -name *_$RAILS_ENV.rb) + environments=$(find ./config/environments -name "*_${RAILS_ENV}.rb") if [ "$environments" ]; then for environment in $environments; do env=$(basename $environment | cut -d. -f1) - RAILS_ENV=$env ./script/delayed_job -i $env "$action" + RAILS_ENV=$env bundle exec ./script/delayed_job -i $env "$action" RAILS_ENV=$env bundle exec ./script/feed-updater "$action" -i $env done else -- libgit2 0.21.2