diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-06-19 14:29:17 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-06-23 10:25:06 +0100 |
commit | 28f2036521d2bf8c3daafaa6f098214b410fa687 (patch) | |
tree | 2a03f742cafff9516a4137d26c75ca986ddbd722 | |
parent | 6cb5de1cdb505b11efb266ed37fc2dd8e1fd1237 (diff) |
Add example of wrapper script used to run mailin and handlemail.
-rw-r--r-- | config/run-with-rbenv-path.example | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/run-with-rbenv-path.example b/config/run-with-rbenv-path.example new file mode 100644 index 000000000..25dec9b60 --- /dev/null +++ b/config/run-with-rbenv-path.example @@ -0,0 +1,8 @@ +#!/bin/bash + +# We want this script to run in the context of the ruby version defined for the site +PATH=/home/!!(*= $user *)!!/.rbenv/shims:$PATH + +source "$1" + +exit $? |