高Sierra 10.13.1和Rails的问题?
我已经尝试在高塞拉利昂安装Rails,但不断收到“无法构建gem本机扩展”错误。高Sierra 10.13.1和Rails的问题?
checking for sys/epoll.h... no
^这是我需要做什么来看着。我不确定这是否是新操作系统的问题...可能是nio4r-2.1.0
的问题?
Building native extensions. This could take a while... ERROR: Error installing rails:
\t ERROR: Failed to build gem native extension.
current directory: /Users/paulkim/.rvm/gems/ruby-2.4.2/gems/nio4r-2.1.0/ext/nio4r
/Users/paulkim/.rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171203-22631-czj48g.rb extconf.rb
checking for unistd.h... yes
checking for sys/select.h... yes
checking for poll.h... yes
checking for sys/epoll.h... no
checking for sys/event.h... yes
checking for sys/queue.h... yes
checking for port.h... yes
checking for sys/resource.h... yes
creating Makefile
current directory: /Users/paulkim/.rvm/gems/ruby-2.4.2/gems/nio4r-2.1.0/ext/nio4r
make "DESTDIR=" clean
current directory: /Users/paulkim/.rvm/gems/ruby-2.4.2/gems/nio4r-2.1.0/ext/nio4r
make "DESTDIR="
compiling bytebuffer.c
compiling monitor.c
compiling nio4r_ext.c
In file included from nio4r_ext.c:7:
./../libev/ev.c:488:48: warning: '/*' within block comment [-Wcomment]
/*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */
^
./../libev/ev.c:1068:26: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned int' [-Wshorten-64-to-32]
return ecb_popcount32 (x) + ecb_popcount32 (x >> 32);
回答:
正是有了高塞拉利昂和xCode.I一个问题,第一重新格式化我的机器埃尔卡皮坦,也没有安装Rails的问题。然后在另一台机器与高山我也有问题与Rails。
更新到xCode 9.2后,我成功安装了Rails 5.1.4。
谢谢大家。
以上是 高Sierra 10.13.1和Rails的问题? 的全部内容, 来源链接: utcz.com/qa/259732.html