aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-06-27 17:16:09 +0100
committerLouise Crow <louise.crow@gmail.com>2014-06-27 17:16:09 +0100
commita433926f360a22934e54a04e00e27c53c53a8c0d (patch)
tree6a7e856ee85ddffcb32faa83955e285292980aa8
parent0849cc15c3ab8d809c9ec50f5191e61a1b32c778 (diff)
Add path to bundlerportugal
Temporary fix for postfix not passing the alaveteli user's environment to the piped script so the path of the bundler executable not being available
-rwxr-xr-xscript/mailin2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin
index 65f9d06f2..711ce07b6 100755
--- a/script/mailin
+++ b/script/mailin
@@ -13,7 +13,7 @@ source commonlib/shlib/deployfns
read_conf config/general
-bundle exec rails runner 'RequestMailer.receive(STDIN.read)' <"$INPUT" >"$OUTPUT" 2>&1
+/usr/local/bin/bundle exec rails runner 'RequestMailer.receive(STDIN.read)' <"$INPUT" >"$OUTPUT" 2>&1
ERROR_CODE=$?
if [ ! "$ERROR_CODE" = "0" ]
then