【发布时间】:2011-07-26 07:00:36
【问题描述】:
我安装了 Compass gem (compass-0.11.beta.2) 以及 Compass susy 插件。每次我运行“指南针手表”时,我都会收到错误消息:
"Errno::ENOSYS 在 /path/to/rb-inotify/notifier.rb 的第 ["60"] 行:初始化 inotify"
这是错误引用的notifier.rb 中的代码块
def initialize
@fd = Native.inotify_init
@watchers = {}
return unless @fd < 0
raise SystemCallError.new(
"Failed to initialize inotify" +
case FFI.errno
when Errno::EMFILE::Errno; ": the user limit on the total number of inotify instances has been reached."
when Errno::ENFILE::Errno; ": the system limit on the total number of file descriptors has been reached."
when Errno::ENOMEM::Errno; ": insufficient kernel memory is available."
else; ""
end,
This is line ["60"] ===> FFI.errno)
end
我尝试重新安装所有涉及的 gem,以及每个 gem 的 3-4 个不同版本,但每次我仍然遇到相同的错误。谁能帮我一把?
【问题讨论】:
标签: ruby compass-sass sass