A brief test appears to show me that bundler 1.3.5 will load the gem either way, and a quick peek at it's loading looks like it is trying the gem name first, and if that gives a load error trying a rescue with

    namespaced_file = dep.name.gsub('-', '/')