root@nail:/projects/proc_fs# uname -a
Linux lian 2.6.32-44-generic #98-Ubuntu SMP Mon Sep 24 17:27:10 UTC 2012
x86_64 GNU/Linux

root@nail:/projects/proc_fs# ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

root@nail:/projects/proc_fs# ls -al /proc/sys/fs/binfmt_misc/register
--w------- 1 root root 0 2012-10-28 08:24
/proc/sys/fs/binfmt_misc/register

root@nail:/projects/proc_fs# irb

irb(main):001:0> File.readable? '/proc/sys/fs/binfmt_misc/register'
=> true

!?!?!?

-- 
Posted via http://www.ruby-forum.com/.