[memo] OS X Mavericks に上げてから初めての gem update で unf が ERROR: While executing gem ... (OpenSSL::SSL::SSLError) SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: wrong version number
OS X Mavericks に上げてから初めての gem update で unf が ERROR
[zunermuka ~]$ gem update
Updating installed gems
Updating fastimage
Fetching: fastimage-1.5.3.gem (100%)
Successfully installed fastimage-1.5.3
Updating mini_portile
Fetching: mini_portile-0.5.2.gem (100%)
Successfully installed mini_portile-0.5.2
Updating rubygems-update
Fetching: rubygems-update-2.1.10.gem (100%)
Successfully installed rubygems-update-2.1.10
Updating uglifier
Fetching: uglifier-2.3.0.gem (100%)
Successfully installed uglifier-2.3.0
Updating unf
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: wrong version number
http://railsapps.github.io/openssl-certificate-verify-failed.html
この対応で良いのかな?
[zunermuka ~]$ rbenv version
2.0.0-p247 (set by /Users/zunermuka/.rbenv/version)
[zunermuka ~]$ brew info openssl
openssl: stable 1.0.1e
http://openssl.org
This formula is keg-only.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
The OpenSSL provided by OS X is too old for some software.
/usr/local/Cellar/openssl/1.0.1c (428 files, 15M)
/usr/local/Cellar/openssl/1.0.1d (429 files, 15M)
/usr/local/Cellar/openssl/1.0.1e (429 files, 15M)
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/openssl.rb
[zunermuka ~]$ brew tap raggi/ale
Cloning into '/usr/local/Library/Taps/raggi-ale'...
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 2), reused 11 (delta 1)
Unpacking objects: 100% (12/12), done.
Checking connectivity... done
Tapped 1 formula
[zunermuka ~]$ brew install openssl-osx-ca
==> Downloading https://github.com/raggi/openssl-osx-ca/archive/1.0.3.tar.gz
######################################################################## 100.0%
==> make install PREFIX='/usr/local/Cellar/openssl-osx-ca/1.0.3' BREW='/usr/loca
==> Caveats
To get instant-on, please run:
openssl-osx-ca
To uninstall remove the openssl-osx-ca line from your crontab. e.g.
(crontab -l | grep -v openssl-osx-ca) | crontab -
==> Summary
/usr/local/Cellar/openssl-osx-ca/1.0.3: 4 files, 16K, built in 5 seconds
[zunermuka ~]$ gem update
Updating installed gems
Updating unf
Fetching: unf-0.1.3.gem (100%)
Successfully installed unf-0.1.3
Updating weather-report
Fetching: weather-report-0.3.7.gem (100%)
Successfully installed weather-report-0.3.7
Gems updated: unf weather-report
コメント