LoginSignup
1
1

More than 5 years have passed since last update.

OSX+rvm(ruby-2.0.0)でgemがインストールできない

Posted at

gemsetつくったのでbundlerいれようとしたところでエラーで動かない(´Д`;)

$ gem install bundler
ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

ぐぐってみたところ、ちゃんとありました(´Д`;)
Why cant I install any gems on my Mac?

$ rvm osx-ssl-certs update all
Updating certificates for /etc/openssl/cert.pem: Updating certificates in '/etc/openssl/cert.pem'.
mkdir: /etc/openssl: Permission denied
Password:
Updated.
Updating certificates for /etc/openssl/cert.pem: Already are up to date.
Updating certificates for /etc/openssl/cert.pem: Already are up to date.

$ gem install bundler
Fetching: bundler-1.3.5.gem (100%)
Successfully installed bundler-1.3.5
Parsing documentation for bundler-1.3.5
Installing ri documentation for bundler-1.3.5
1 gem installed

すばらしぃ

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1