Hi!

Nobody provided an answer so I did look into the problem.

In _filelock.c 

    return rb_iv_set(self, "@locked", INT2FIX(st.st_mtime));

must be replaced by

    return rb_iv_set(self, "@locked", INT2NUM(st.st_mtime));

For Ruby 1.8

    require "final"

must be removed from lib/filelock.rb.

Josef 'Jupp' SCHUGT
-- 
http://oss.erdfunkstelle.de/ruby/    -     German comp.lang.ruby-FAQ
http://rubyforge.org/users/jupp/     -     Ruby projects at Rubyforge
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Germany 2004: To boldly spy where no GESTAPO / STASI has spied before