Answers for "how to check ruby version"

3

how to check ruby version

// Command line:
$ ruby -v

// Within irb type "RUBY_VERSION"
# => "2.4.1"

// If using RVM:
$ rvm current
# => ruby-2.4.1
Posted by: Guest on February-04-2020
0

check all ruby version ubuntu

rvm list

rvm rubies
   ruby-1.9.1-p431 [ i386 ]
=* ruby-1.9.2-p320 [ i386 ]
# => - current
# =* - current && default
#  * - default
Posted by: Guest on July-26-2020

Code answers related to "how to check ruby version"

Browse Popular Code Answers by Language