ruby记录

2018-02-11  本文已影响0人  Miley_MOJIE

1、Installing nokogiri 1.8.5 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
An error occurred while installing nokogiri (1.8.5), and Bundler cannot continue.
Make sure that gem install nokogiri -v '1.8.5' --source 'http://gems.ruby-china.com/' succeeds before bundling.
解决

image.png

解决
进入ruby的安装安装包,重新设置openssl的配置路径,重新编译安装ruby
./configure --with-openssl-dir=/usr/local/opt/openssl
make
make install

上一篇 下一篇

猜你喜欢

热点阅读