LoginSignup
18
15

More than 5 years have passed since last update.

Bundlerのインストールメモ

Posted at

Bundlerをインストールしたときにエラーが出力されて先に進めないので回避策をメモした。

$ ./ruby/bin/gem install bundler
ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_set_tlsext_host_name: cert already in hash table (https://rubygems.org/latest_specs.4.8.gz)
$ ./ruby/bin/gem source --add http://rubygems.org
https://rubygems.org is recommended for security over http://rubygems.org
Do you want to add this insecure source? [yn]  y
http://rubygems.org added to sources

もう一度実行する。

$ ./ruby/bin/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
WARNING:  Unable to pull data from 'https://rubygems.org/': SSL_set_tlsext_host_name: cert already in hash table (https://rubygems.org/latest_specs.4.8.gz)
1 gem installed

セキュリティー的に問題なので、手元の開発環境のみで実行する。

18
15
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
18
15