Created
July 18, 2014 16:24
-
-
Save liubin/61d159e821e5d6f8c50c to your computer and use it in GitHub Desktop.
またThe Ruby openssl extension was not compiled. Missing the OpenSSL lib?かよ ref: http://qiita.com/liubin0329/items/6587ca86e5ff09ee3df5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloning https://github.com/ruby/ruby.git... | |
Installing ruby-2.2.0-dev... | |
BUILD FAILED | |
Inspect or clean up the working tree at /var/folders/0n/18bwv5x16t7gy319d5wbn9480000gn/T/ruby-build.20140718233658.48380 | |
Results logged to /var/folders/0n/18bwv5x16t7gy319d5wbn9480000gn/T/ruby-build.20140718233658.48380.log | |
Last 10 log lines: | |
bigdecimal 1.2.5 | |
io-console 0.4.2 | |
json 1.8.1 | |
psych 2.0.5 | |
rake 10.3.2 | |
rdoc 4.1.0 | |
installing bundle gems: /Users/liubin/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications) | |
installing rdoc: /Users/liubin/.rbenv/versions/2.2.0-dev/share/ri/2.2.0/system | |
installing capi-docs: /Users/liubin/.rbenv/versions/2.2.0-dev/share/doc/ruby | |
The Ruby openssl extension was not compiled. Missing the OpenSSL lib? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew uninstall openssl | |
brew --prefix openssl | |
brew install openssl | |
brew link openssl --force | |
brew --prefix openssl | |
CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 2.2.0-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment