Now my ruby version is 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
But my teachers in university ask us to install 2.3.1, so I have tried rvm install 2.3.1 but it reports
Error running '__rvm_make -j8',
please read /Users/mac/.rvm/log/1508247055_ruby-2.3.1/make.log There has been an error while running make. Halting the installation.
There is the make.log
dyld: lazy symbol binding failed: Symbol not found: _utimensat
Referenced from: /Users/mac/.rvm/src/ruby-2.3.1/./miniruby Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: _utimensat Referenced from: /Users/mac/.rvm/src/ruby-2.3.1/./miniruby Expected in: /usr/lib/libSystem.B.dylib
rvmfor that too? Could you runwhich rvmand report back?which ruby? - Leonel Galán