Installing Ruby 2.3.1 on Mojave OSX with rbenv or rvm
问题 First off I am on OSX Mojave 10.14, I have previously upgraded it from 10.13. I bought it new with 10.13. I am trying to follow this tutorial: https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-one I want to make sure that I have the same environment setup using the same version of rails and ruby. When I try to use rbenv to change my version of ruby (currently 2.6.1) to 2.3.1 I use the following command: rbenv install 2.3.1 And I get the following error: file.c:23:10: