/usr/lib/ruby/vendor_ruby/bundler/templates/newgem/ext/newgem/newgem.c.tt is in ruby-bundler 1.13.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #include "<%=config[:underscored_name]%>.h"
VALUE rb_m<%=config[:constant_array].join%>;
void
Init_<%=config[:underscored_name]%>(void)
{
rb_m<%=config[:constant_array].join%> = rb_define_module(<%=config[:constant_name].inspect%>);
}
|