在OS X El Capitan 10.11上安装puma ruby​​ gem的问题 [英] Problems Installing puma ruby gem on OS X El Capitan 10.11

查看:116
本文介绍了在OS X El Capitan 10.11上安装puma ruby​​ gem的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当试图在OS X El Capitan上安装Puma任何版本时,它一直在失败。值得庆幸的是, / user / dennis-best 能够揭示出一些亮点并值得所有的赞誉。
  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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆