There's an echo in my head

日々のメモ。

ruby 2.0.0-preview1を入れてみる(失敗中)

ruby-installの一覧を更新したあとで、rbenvで2.0.0を入れたらopensslがrequireできない を見ながらチャレンジ。

$ brew upgrade openssl
Error: openssl-1.0.1c already installed

$ CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` rbenv install 2.0.0-preview1
Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz...
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /Users/me/.rbenv/versions/2.0.0-preview1
Downloading http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.gz...
Installing ruby-2.0.0-preview1...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/6w/dd2sdf8900371rcp2y2z5md00000gn/T/ruby-build.20121108183656.58733
Results logged to /var/folders/6w/dd2sdf8900371rcp2y2z5md00000gn/T/ruby-build.20121108183656.58733.log

Last 10 log lines:
compiling ossl_x509cert.c
compiling ossl_x509crl.c
compiling ossl_x509ext.c
compiling ossl_x509name.c
compiling ossl_x509req.c
compiling ossl_x509revoked.c
compiling ossl_x509store.c
installing default openssl libraries
linking shared-object openssl.bundle
make: *** [build-ext] Error 2

うーん。

追記

成功した

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。