aboutsummaryrefslogtreecommitdiffstats
path: root/config/run-with-rbenv-path.example
blob: 25dec9b603eaef17f244e5feba915a87af4ea0e2 (plain)
1
2
3
4
5
6
7
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 $?