Commit e0767b1a09d7357ed2b021deadd4d787d83ce450
1 parent
706403fc
Exists in
master
and in
27 other branches
script/production: add missing `bundle exec`
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script/production
... | ... | @@ -71,11 +71,11 @@ stop_via_pid_file() { |
71 | 71 | |
72 | 72 | environments_loop() { |
73 | 73 | action="$1" |
74 | - environments=$(find ./config/environments -name *_$RAILS_ENV.rb) | |
74 | + environments=$(find ./config/environments -name "*_${RAILS_ENV}.rb") | |
75 | 75 | if [ "$environments" ]; then |
76 | 76 | for environment in $environments; do |
77 | 77 | env=$(basename $environment | cut -d. -f1) |
78 | - RAILS_ENV=$env ./script/delayed_job -i $env "$action" | |
78 | + RAILS_ENV=$env bundle exec ./script/delayed_job -i $env "$action" | |
79 | 79 | RAILS_ENV=$env bundle exec ./script/feed-updater "$action" -i $env |
80 | 80 | done |
81 | 81 | else | ... | ... |