How to check ruby version?

QuestionsHow to check ruby version?
Chetan Kapoor Staff asked 5 months ago
1 Answers
Chetan Kapoor Staff answered 5 months 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