Answers for "how to find out ruby version command line"

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

Code answers related to "how to find out ruby version command line"

Browse Popular Code Answers by Language