Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install any gem #5

Open
shikhalev opened this issue Feb 24, 2018 · 1 comment
Open

Can not install any gem #5

shikhalev opened this issue Feb 24, 2018 · 1 comment

Comments

@shikhalev
Copy link

$ docker run -it rubinius/docker
root@bffae5abbfee:/# gem install rack
ERROR:  SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR:  You must add /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA to your local trusted store
ERROR:  While executing gem ... (OpenSSL::SSL::SSLError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
root@bffae5abbfee:/#
@medols
Copy link

medols commented Mar 12, 2018

On the rubinius/docker shell:

$ apt-get install wget
$ wget https://curl.haxx.se/ca/cacert.pem
$ mv cacert.pem /tmp
$ SSL_CERT_FILE=/tmp/cacert.pem
$ rbx -S gem install fresh-mc

Dockerfile example:

https://github.com/medols/fresh/blob/master/Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants