• Centos gem install bosh_cli 报错 Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources(已解决)


    安装新版本的openssl,教程路径:
    https://blog.csdn.net/shiyong1949/article/details/78212971?locationNum=10&fps=1

     bosh官网:

    http://bosh.cloudfoundry.org/docs/cli-v2-install/

    $ sudo yum install gcc gcc -c ++ ruby​​ ruby​​-devel mysql-devel postgresql-devel postgresql-libs sqlite-devel libxslt-devel libxml2-devel patch openssl
    $ gem install yajl-ruby
    

      

    运行:

    gem source -r https://rubygems.org/ 

    其次(以下两个都试一下)

    gem source -a https://rubygems.org/

    gem source -a http://rubygems.org/

    之后gems install bosh_cli可以成功运行



  • 相关阅读:
    javaMap
    javaCollections
    java线程
    mysql插入,删除
    mysql基础(1)
    javaSet,Date
    中青杯数学建模大赛
    javaJDBC
    中秋记事~~项目开发
    太高兴了,今天有人送我吃月饼!
  • 原文地址:https://www.cnblogs.com/5588kjx/p/9378488.html
Copyright © 2020-2023  润新知