Answer the question
In order to leave comments, you need to log in
How to make Ruby work as a user?
Installed ruby and rails from the redmine user
From the user, only the command is available for execution rvm
Commands ruby -v
or bundle
do not work
Writes that the command was not found
Registered PATH:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes rvm bin if it exists
if [ -d "$HOME/.rvm/bin" ] ; then
PATH="$PATH:$HOME/.rvm/bin"
fi
if [ -s "$HOME/.rvm/scripts/rvm" ] ; then
source "$HOME/.rvm/scripts/rvm"
fi
if [ -s "$HOME/.rvm/scripts/completion" ] ; then
source "$HOME/.rvm/scripts/completion"
fi
export
in .bashrc# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin:$HOME/.rvm/scripts/rvm"
source /home/redmine/.rvm/scripts/rvm
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question