Closed spesnova closed 7 years ago
Add -E option to sudo bundle exec $WERCKER_STEP_ROOT/run.rb command.
-E
sudo bundle exec $WERCKER_STEP_ROOT/run.rb
To fix #39
Environment variables are not passed when using sudo.
$ sudo -h | grep -e "-E" -E, --preserve-env preserve user environment when running command
@dtan4 @koudaiii Plz check this 😃
LGTM 👍 Thanks ❗️
What does this PR do?
Add
-E
option tosudo bundle exec $WERCKER_STEP_ROOT/run.rb
command.Motivation
To fix #39
Environment variables are not passed when using sudo.
REF