put rbenv stuff into init script
This commit is contained in:
@@ -10,6 +10,10 @@
|
|||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
set -e
|
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:
|
# Feel free to change any of the following variables for your app:
|
||||||
TIMEOUT="${TIMEOUT-60}"
|
TIMEOUT="${TIMEOUT-60}"
|
||||||
APP_ROOT="/home/www-data/apps/redstoner/current"
|
APP_ROOT="/home/www-data/apps/redstoner/current"
|
||||||
|
|||||||
Reference in New Issue
Block a user