Package: librb-inotify-ruby1.8
Version: 0.7.0-4
Severity: normal
Sometimes small tool which I use to watch changes in directory fails with the
following stacktrace:
/usr/lib/ruby/1.8/rb-inotify/notifier.rb:228:in `read_events': uninitialized
constant INotify::Notifier::EINVAL (NameError)
from /usr/lib/ruby/1.8/rb-inotify/notifier.rb:211:in `process'
from /usr/lib/ruby/1.8/rb-inotify/notifier.rb:194:in `run'
from /usr/lib/ruby/1.8/fssm/backends/inotify.rb:20:in `run'
from /usr/lib/ruby/1.8/fssm/monitor.rb:24:in `run'
from /usr/lib/ruby/1.8/fssm.rb:17:in `monitor'
from scripts/watchfiles:10
'watchfiles' script is attached.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'experimental'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages librb-inotify-ruby1.8 depends on:
ii libffi-ruby1.8 0.6.3debian-1 load dynamic libraries, bind funct
ii libinotify-ruby1.8 0.0.2-4 Ruby interface to Linux's inotify
ii ruby1.8 1.8.7.299-1 Interpreter of object-oriented scr
librb-inotify-ruby1.8 recommends no packages.
librb-inotify-ruby1.8 suggests no packages.
-- no debconf information
#!/usr/bin/env ruby
require 'rubygems'
require 'fssm'
def rebuild_site(relative)
Process.exit
end
begin
FSSM.monitor(nil, ARGV) do
update {|base, relative| rebuild_site(relative)}
delete {|base, relative| rebuild_site(relative)}
create {|base, relative| rebuild_site(relative)}
end
rescue FSSM::CallbackError => e
Process.exit
end
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers