Check out example codes for "check all ruby version ubuntu". It will help you in understanding the concepts better.

Code Example 1

rvm list

rvm rubies
   ruby-1.9.1-p431 [ i386 ]
=* ruby-1.9.2-p320 [ i386 ]
# => - current
# =* - current && default
#  * - default

Learn ReactJs, React Native from akashmittal.com