There are multiple ways you could find out which Ruby version you are running on your local machine.
- Ruby environment
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin21]
Ruby version management tools
3.0.0p0 (set by /Users/devcoops/.rbenv/version)
package manager (gem)
RubyGems Environment: - RUBYGEMS VERSION: 3.2.3 - RUBY VERSION: 3.0.0 (2020-12-25 patchlevel 0) [x86_64-darwin21] ...
As always, hope this was helpful and if you know any other ways to check running or installed ruby version, please let me know. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.