I was following this tutorial (http://railsapps.github.io/installrubyonrails-ubuntu.html) of installing ruby with RVM on Xubuntu 14.04 running on virtual box. I completed this step with success:
$ \curl -L https://get.rvm.io | bash -s stable --ruby
However afterward I tried to run gem -v and got this output:
The program 'gem' can be found in the following packages:
- ruby
- rubygems
Try: sudo apt-get install
I also tried to reinstall Ruby with the argument --autolibs=enable but it did not change the outcome.
EDIT:
Running rvm list output:
rvm rubies
=* ruby-2.1.5 [ x86_64 ]
# => - current
# =* - current && default
# * - default
rvm list? - JTG