在OS X El Capitan 10.11上安装puma ruby gem的问题 [英] Problems Installing puma ruby gem on OS X El Capitan 10.11
本文介绍了在OS X El Capitan 10.11上安装puma ruby gem的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
gem install puma - --with-cppflags = -I / usr / local / opt / openssl / include --with-ldflags = -L / usr / local / opt / openssl / lib
https://gist.github.com/edvinasbartkus/0e99ea8305a20737f562
When attempting to install puma "any version" on OS X El Capitan it kept failing. Thankfully, /user/dennis-best was able to shed some light and deserves all the credit for this.
解决方案
For people who are having issues with puma and openssl, particularly with Mac OS 10.11 (El Capitan), adding some flags will save you hours and hours of heartache:
gem install puma -- --with-cppflags=-I/usr/local/opt/openssl/include --with-ldflags=-L/usr/local/opt/openssl/lib
https://gist.github.com/edvinasbartkus/0e99ea8305a20737f562
这篇关于在OS X El Capitan 10.11上安装puma ruby gem的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文