大佬教程收集整理的这篇文章主要介绍了ruby – RVM和OpenSSL的麻烦,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
Heathers-MACBook-Pro:~ heather$rvm pkg install openssl Fetching openssl-1.0.1c.tar.gz to /Users/heather/.rvm/archives ######################################################################## 100.0% ExtracTing openssl to /Users/heather/.rvm/src/openssl-1.0.1c Configuring openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Compiling openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Installing openssl to /Users/heather/.rvm/usr Please note that it's required to reinstall all rubies: rvm reinstall all --force updating openssl certificates
然后我尝试用openssl安装ruby …@H_489_3@
Heathers-MACBook-Pro:website heather$rvm install 1.9.3 --with-openssl-dir=$HOME/.rvm/usr Fetching yaml-0.1.4.tar.gz to /Users/heather/.rvm/archives ExtracTing yaml to /Users/heather/.rvm/src/yaml-0.1.4 Configuring yaml in /Users/heather/.rvm/src/yaml-0.1.4. Compiling yaml in /Users/heather/.rvm/src/yaml-0.1.4. Installing yaml to /Users/heather/.rvm/usr Installing Ruby from source to: /Users/heather/.rvm/rubies/ruby-1.9.3-p392,this may take a while depending on your cpu(s)... ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392,this may take a while depending on your connection... ruby-1.9.3-p392 - #extracTing ruby-1.9.3-p392 to /Users/heather/.rvm/src/ruby-1.9.3-p392 ruby-1.9.3-p392 - #extracted to /Users/heather/.rvm/src/ruby-1.9.3-p392 ruby-1.9.3-p392 - #configuring ruby-1.9.3-p392 - #compiling ruby-1.9.3-p392 - #installing Removing old Rubygems files... Installing rubygems-1.8.25 for ruby-1.9.3-p392 ... Installation of rubygems completed successfully. Saving wrappers to '/Users/heather/.rvm/bin'. ruby-1.9.3-p392 - #adjusTing #shebangs for (gem irb erb ri rdoc testrb rakE). ruby-1.9.3-p392 - #imporTing default gemsets,this may take time ... Install of ruby-1.9.3-p392 - #complete Heathers-MACBook-Pro:website heather$bundle update Could not load OpenSSl. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. instructions for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.
顺便说一句,宝石文件说“源https://rubygems.org”@H_489_3@
想法?@H_489_3@
以上是大佬教程为你收集整理的ruby – RVM和OpenSSL的麻烦全部内容,希望文章能够帮你解决ruby – RVM和OpenSSL的麻烦所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。