MacOSX 10.9
ruby 2.1.10p492
$ gem -v
2.2.5
imagemagickはインストール済。


近デジダウンローダーを使えるように準備する(ImageMagick、RMagickインストール)
ttp://d.hatena.ne.jp/riocampos+tech/20130423/1366702078

近代デジタルライブラリーツールをインストールしたいです。
エラーをどう対処すればいいか教えて下さい。

$ gem install kindai
ERROR: Could not find a valid gem 'kindai' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)

$ gem install kindai --source https://github.com/hitode909/kindairb
ERROR: Could not find a valid gem 'kindai' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)
Unable to download data from https://github.com/hitode909/kindairb/ - bad response Not Found 404 (https://github.com/hitode909/kindairb/latest_specs.4.8.gz)

$sudo gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=error