본문 바로가기
개발팁

gem install 시 SSL_connect 오류

by pikisvill 2022. 3. 17.

원본 : http://blim.co.kr/archives/687

 

windows 명령창에서 gem install sass 시도하려고 하면

아래와 같은 버그가 발생하기도 한다.

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

간단히 말하면 모듈을 다운받아야 하는 곳의 주소가 https:// 라서 ssl 인증 오류가 발생하는 것으로 아래와 같이 https:// -> http:// 변경하면 끝난다.

gem sources --remove https://rubygems.org/
gem sources -a http://rubygems.org/

댓글