Skip to content

Instantly share code, notes, and snippets.

@raydive
Last active August 7, 2020 03:37
Show Gist options
  • Select an option

  • Save raydive/6069fab71b7d36c9d23a to your computer and use it in GitHub Desktop.

Select an option

Save raydive/6069fab71b7d36c9d23a to your computer and use it in GitHub Desktop.
いつもいつも忘れてしまうのでruby-buildのconfigureオプションの設定についてメモっておく ref: https://qiita.com/raydive/items/e07611a6a30b985c9698
$ CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl`" RUBY_CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl`" rbenv install rbx-2.2.6
Downloading rubinius-2.2.6.tar.bz2...
-> http://releases.rubini.us/rubinius-2.2.6.tar.bz2
Installing rubinius-2.2.6...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/_7/12w0r1850z9c0lp6sxr9x6ww0000gn/T/ruby-build.20140511110113.7856
Results logged to /var/folders/_7/12w0r1850z9c0lp6sxr9x6ww0000gn/T/ruby-build.20140511110113.7856.log
Last 10 log lines:
--without-dtrace Disable dtrace
--with-rpath Enable rpath
--without-rpath Disable rpath
Help!
--show Print the current configuration and exit
-V, --verbose Print additional info
-h, --help Show this message
Unrecognized option: --with-readline-dir=/usr/local/opt/readline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment