put rbenv stuff into init script

This commit is contained in:
jomo
2014-06-25 03:28:42 +02:00
parent bfe68ce161
commit 13bde668a3

View File

@@ -10,6 +10,10 @@
### END INIT INFO
set -e
# not sure why, but .bash_profile is not being executed
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# Feel free to change any of the following variables for your app:
TIMEOUT="${TIMEOUT-60}"
APP_ROOT="/home/www-data/apps/redstoner/current"