How to check ruby version?

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


48-Hour Flash Sale! Courses from just $10.99