aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-04-12 18:36:48 +0100
committerMark Longair <mhl@pobox.com>2013-04-15 11:50:44 +0100
commitb920cb2a151236ea0b1340eae024e25729da234b (patch)
tree9df03bcff1f7779c5ab293eb8edf9bb661d25b70 /script
parentedbbe6ab10b5773d6841c4a8fd5402287a18f302 (diff)
In the mailin script, run "rails runner" with "bundle exec"
The example usages in the documentation all refer to the mailin script without a "bundle exec" prefix, so with bundler-based installation these examples may not work without a "bundle exec" being used in the script.
Diffstat (limited to 'script')
-rwxr-xr-xscript/mailin2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin
index 6ed6bc7db..f782df215 100755
--- a/script/mailin
+++ b/script/mailin
@@ -13,7 +13,7 @@ source commonlib/shlib/deployfns
read_conf config/general
-rails runner 'RequestMailer.receive(STDIN.read)' <"$INPUT" >"$OUTPUT" 2>&1
+bundle exec rails runner 'RequestMailer.receive(STDIN.read)' <"$INPUT" >"$OUTPUT" 2>&1
ERROR_CODE=$?
if [ ! "$ERROR_CODE" = "0" ]
then