这里有人成功安装了
system_timer
Windows上的宝石?
devkit
在我的机器上,我可以安装其他本地宝石。
In file included from system_timer_native.c:2:
c:/Ruby19/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning:
#warning rubysig.h is obsolete
system_timer_native.c: In function `install_timer':
system_timer_native.c:28: error: storage size of 'timer_interval' isn't known
system_timer_native.c:33: warning: implicit declaration of function `sigprocmask'
宝石
home page
声明它在Windows上不工作
SystemTimer only works on UNIX platforms (Mac OS X, Linux, Solaris, BSD, â¦).
You can install the gem on Microsoft Windows, but you will only get a
convenience shell wrapping a simple call to timeout.rb under the cover.
我使用的是Ruby1.9,因为1.9中的线程模型不同,所以我想知道gem是否可以在1.9中工作。