RVM requires a minor addition to your
~/.bash_profile to initialize it when you log-in. It is specified in the installation docs in the Post Install section. Did you do that?
rvm info output, it looks like you haven’t completed your installation. All the entries in the output should have corresponding values. So, I suspect you haven’t added:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
~/.bash_profile and then started a new session.
If you are doing a “Multi-User” installation then you’ll need to do a lot more. Have you modified
/etc/profile, or, if you are using Bash as your shell, have you modified
/etc/bash.bashrc to include:
# Load RVM if it is installed, # first try to load user install # then try to load root install, if user install is not there. if [ -s "$HOME/.rvm/scripts/rvm" ] ; then . "$HOME/.rvm/scripts/rvm" elif [ -s "/usr/local/rvm/scripts/rvm" ] ; then . "/usr/local/rvm/scripts/rvm" fi
and started a new shell?
Personally I don’t like the multi-user install as much as the single-user install, and don’t recommend it but your mileage might vary.
As a FYI: In a discussion with the RVM maintainers on IRC last year, they told me they do not recommend the system-wide installation, and instead recommend the local “single-user” installation, even for servers.