I haven't really seen any gems out there that can do this already.  It may be more work than is worthwhile to implement a compiler that can walk dependencies.  I actually don't mind the use of a `lib` directory, it seems like a reasonable convention.