Generate requirejs config in ruby

This is a precursor to removing the need for applications to reference
specific Dough components directly
Is there anyway we can iterate over the paths to automatically invoke the `depend_on_asset` calls?