Collect Rails modules when they are added to the project.