How to check ruby version?

QuestionsHow to check ruby version?
Chetan Kapoor Staff asked 2 weeks ago
1 Answers
Chetan Kapoor Staff answered 2 weeks ago

You can easily check the ruby version from the command line by executing the following command:

ruby -v

If you want to check the path of ruby use following command:

which ruby