feat(shell): setup rmv for a user local install
When running rmv on other linux installes other than Ubuntu its better to install rmv for the user. This then gets installed in `~/.rvm`. This now sets up the path so we can use rmv no matter what distro we are on.
This commit is contained in:
parent
3e07954682
commit
a7774f9576
1 changed files with 4 additions and 1 deletions
|
|
@ -102,9 +102,12 @@ if [ -d "${PHPENV_ROOT}" ]; then
|
|||
eval "$(phpenv init -)"
|
||||
fi
|
||||
|
||||
# Ruby version manager (RVM)
|
||||
# Ruby version manager (RVM), this can be installed for the system or user
|
||||
# local.
|
||||
if [ -f "/etc/profile.d/rvm.sh" ]; then
|
||||
source "/etc/profile.d/rvm.sh"
|
||||
elif [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||
. "$HOME/.rvm/scripts/rvm"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.local/share/adr-tools/src" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue