zoukankan      html  css  js  c++  java
  • rails 安装后调整gem sources 地址

    rails 安装后调整gem sources 地址

    使用https会有认证的问题;

    移除原有的:

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

    查看当前的:

    gem sources -l

    添加新的:

    gem sources -a https://ruby.taobo.org/

    出现认证问题:

    Error fetching https://ruby.taobao.org/:
    SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)

    或者

    gem sources -a https://gems.ruby-china.org/

    一样出现问题:

    Error fetching https://gems.ruby-china.org/:
    SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)

    后来不使用https:

    gem sources -a http://gems.ruby-china.org/

    修改通过;

  • 相关阅读:
    互斥量
    读写锁
    死锁
    pthread
    线程
    守护进程
    信号捕捉
    信号集
    信号
    mmap
  • 原文地址:https://www.cnblogs.com/stono/p/6715181.html
Copyright © 2011-2022 走看看