我安装了 Compass gem (compass-0.11.beta.2) 以及 Compass susy 插件。每次我运行“指南针手表”时,我都会收到错误消息:
“Errno::ENOSYS on line ["60"] of /path/to/rb-inotify/notifier.rb: initialize 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 个不同版本,但每次我仍然得到相同的错误。谁能帮我一把?