Hello guys, I'm having an error when executing the provision.sh script. More specifically, the error is in the deploy task, when trying to install the gems with Bundler.
I checked my server and saw that a new user is created with the name of my app and the rbenv is installed under this user. What I think that is happening is simple: the command above it's being execute as root who doesn't have rbenv installed.
I tried to find a way of executing '/bin/bash -lc' as another user but couldn't find it. Does someone know? Thank you!
Hello guys, I'm having an error when executing the
provision.sh
script. More specifically, the error is in the deploy task, when trying to install the gems with Bundler.I checked my server and saw that a new user is created with the name of my app and the
rbenv
is installed under this user. What I think that is happening is simple: the command above it's being execute as root who doesn't have rbenv installed.I tried to find a way of executing '/bin/bash -lc' as another user but couldn't find it. Does someone know? Thank you!