Setup Ruby Gem on Windows

来源:互联网 发布:怎样做软件 编辑:程序博客网 时间:2024/05/17 04:41

https://github.com/ruby-china/rubygems-mirror/wiki
http://curl.haxx.se/ca/cacert.pem

Make sure you have installed ruby.
And put this cacert.pem at a permanent path.

e.g. D:\Local\Ruby\lib\cacert.pem

@echo offsetx SSL_CERT_FILE D:\Local\Ruby\lib\cacert.pemcall gem update --systemcall gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/call gem install bundlercall bundle config mirror.https://rubygems.org https://gems.ruby-china.org
0 0
原创粉丝点击