OS X ElCapton 上的 Puma gem 错误
Puma gem error on OS X ElCapton
安装 puma 时出现以下错误 gem:
ERROR: Error installing puma:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling http11_parser.c
compiling io_buffer.c
io_buffer.c:119:21: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return rb_str_new(b->top, b->cur - b->top);
有什么线索可以解决这个问题吗?
brew install openssl
brew link --force openssl
查看这个 GitHub 问题,它对我有帮助:https://github.com/puma/puma/issues/783
按照 maximf 的建议,这对我有用:
brew install openssl
brew link --force openssl
安装 puma 时出现以下错误 gem:
ERROR: Error installing puma:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling http11_parser.c
compiling io_buffer.c
io_buffer.c:119:21: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return rb_str_new(b->top, b->cur - b->top);
有什么线索可以解决这个问题吗?
brew install openssl
brew link --force openssl
查看这个 GitHub 问题,它对我有帮助:https://github.com/puma/puma/issues/783
按照 maximf 的建议,这对我有用:
brew install openssl
brew link --force openssl