MacOS – ruby version on macOS Sierra

macosruby

Can someone let me know the version of ruby on macOS sierra? I have a public beta of macOS Sierra (10.12.1 build-16B2327e) and the version is 2.0.0.

I wanted to know if the stable version of macOS has a higher ruby version than 2.0.0.

Best Answer

ruby --version says:

ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

macOS Sierra 10.12 (16A323) release installed from the App Store with XCode 8 installed

Update: macOS 10.13.3 has

ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]