安装新版本的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可以
成功运行。