Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
2017-10-13 10:29
453 查看
mac os x 由于手动安装rvm导致了命令行一直报错 Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
经过不断尝试 使用如下方案解决
rvm get stable
brew update
brew doctor
brew install openssl
rvm reinstall 2.4.0 –with-openssl-dir=
rvm use (ruby version here) i.e. rvm use ruby-2.4.0
rvm gemset create NAME i.e. rvm gemset create rails41
gem install rails -v 4.1
经过不断尝试 使用如下方案解决
rvm get stable
brew update
brew doctor
brew install openssl
rvm reinstall 2.4.0 –with-openssl-dir=
brew --prefix openssl(or whatever version)
rvm use (ruby version here) i.e. rvm use ruby-2.4.0
rvm gemset create NAME i.e. rvm gemset create rails41
gem install rails -v 4.1
相关文章推荐
- Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources解决
- install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources 和uninitialized constant Gem:
- linux gem install mongo Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or u
- Unable to require openssl, install OpenSSL and rebuild ruby … on Ubuntu 14 LTS(ruby2.3.0 on ubuntu)
- 解决方法:配置群集时# gem install redis 报错:Unable to require openssl, install OpenSSL and rebuild ruby (prefer
- 解决方法:配置群集时# gem install redis 报错:Unable to require openssl, install OpenSSL and rebuild ruby (prefer
- gem install Unable to download data from https://rubygems.org/
- Use the PDFs below or the HTML contents to the left to install and configure P6 EPPM and its additional components.
- 解决Ruby “Unable to require openssl"问题
- Unable to install or run the application. The application requires that assembly xxx version xx.x.x.
- PHP错误The server encountered an internal error or misconfiguration and was unable to complete your re
- Install and configure Gnupg & Use Gnupg to encrypt file in PHP
- How to install and use doxygen
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- Unable to install "项目名" The certificate used to sign "项目名" has either expired or has been
- Install and use CentOS 7 or RHEL 7 as KVM virtualization host
- RHEL6 use yum to install or update
- error: Unable to find vcvarsall.bat while install python library by pip install or python setup.py install.
- java - How to install and use db4o for Android? - Stack Overflow
- How To Install and Use Redis