Issue #1377 has been updated by Kazuhiro NISHIYAMA.
How about this patch?
Index: io.c
===================================================================
--- io.c (revision 23386)
+++ io.c (working copy)
@@ -8953,6 +8953,9 @@ Init_IO(void)
#ifdef O_NOFOLLOW
rb_file_const("NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */
#endif
+#ifdef O_NOATIME
+ rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
+#endif
sym_mode = ID2SYM(rb_intern("mode"));
sym_perm = ID2SYM(rb_intern("perm"));
% ruby-trunk -e 'printf "%#o\n", File::NOATIME'
01000000
%
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1377
----------------------------------------
http://redmine.ruby-lang.org