4
2

More than 5 years have passed since last update.

rbenvでrubyをインストールできなかった。

Posted at

rbenvでrubyをインストールできなかった。

rbenv install 2.4.1

下記のような記載が見られた。

The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions

ググるとこの記事に出会う。

そこで、

CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 2.4.1

としたところ、無事インストールできた。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2