multiple ruby extension modules under one directory
问题 Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I've a project with two extension modules, foo.so and bar.so which currently live in their own subdirectories like so: myproject/ext/foo/extconf.rb myproject/ext/foo/foo.c myproject/ext/foo/foo.h myproject/ext/bar/extconf.rb myproject/ext/bar/bar.c myproject/ext/bar/bar.h I'd prefer that all .c and .h sources simply reside under ext/ under the control of a single