3
這裏有人在Windows上成功安裝了system_timer
gem嗎? 我在我的機器上有devkit
,我可以安裝其他本地寶石。 當我安裝gem時,出現以下錯誤。在Windows上安裝gem system_timer
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.
我對Ruby 1.9的,因爲線程模型在1.9是不同的,我想知道,如果創業板將在1.9工作。
/我給KandadaBoggu提示帽子。 <3 – 2010-03-04 22:39:14