I don’t use Ruby much, but I wanted to use Jekyll for this blog. I kept getting this error when running
gem install jekyll:
I installed rbenv with
brew install rbenv and added
.bashrc file. Then I changed the default ruby interpreter from the system interpreter to one managed by rbenv with
rbenv install 2.2.3 && rbenv global 2.2.3.