100% Remote

Paul H Trott

Head of Engineering | Lead Software Engineer

rbenv and ruby 2.3.3 issues

Installation issues with Mac OSX 10.15.2

Error I received was:

Last 10 log lines:
installing capi-docs: /Users/myname/.rbenv/versions/2.3.3/share/doc/ruby
The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Configure options used:
–prefix=/Users/myname/.rbenv/versions/2.3.3
–with-openssl-dir=/usr/local/opt/openssl
–with-readline-dir=/usr/local/opt/readline
CC=clang
LDFLAGS=-L/Users/myname/.rbenv/versions/2.3.3/lib
CPPFLAGS=-I/Users/myname/.rbenv/versions/2.3.3/include

Solved

Issue is related to changes in openssl v1.1

I fixed the issue by removing the ruby-build directory associated with rbenv plugins.

#=> rm -rf ~/.rbenv/plugins/ruby-build

I installed ruby-build into the plugins directory using git clone from github.

#=> git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build

After those changes I was able to install ruby version 2.3.3 without any issues.

#=> rbenv install 2.3.3

And continue with my additional installs

#=> gem install bundler –no-ri –no-rdoc -v ‘1.16.4’

Paul H. Trott by Ninja Web Studios LLC

Copyright © 2026