I am trying to use rvm(ruby version manager) and after the source installation, I need to add rvm command into my profile.
I added following code to the $HOME/.profile file but it does not seem to work.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
So I just manually typed below for temporary addition of rvm command, but it does not seem to work. I get Missing name for redirect error like below.
source ~/.rvm/scripts/rvm Missing name for redirect.
How can I resolve this problem? Btw, I do not have root access, and my linux is a redhat system.