Last active
August 29, 2015 13:57
-
-
Save RobertoBarros/9750444 to your computer and use it in GitHub Desktop.
Executando foreman export para um usuário que não é root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo env PATH=$PATH foreman export upstart /etc/init -f Procfile-name -a app-name -u deployer | |
#https://github.com/sstephenson/rbenv/issues/127 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/profile.d/rbenv.sh | |
export RBENV_ROOT=/home/deployer/.rbenv/versions/2.1.0 | |
export PATH="${RBENV_ROOT}/bin:$PATH" | |
eval "$(rbenv init -)" | |
#http://stackoverflow.com/a/19071349/8581 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment