{"issue":{"state":"closed","created_at":"2011-11-13T23:45:35Z","updated_at":"2011-11-30T23:00:13Z","comments":0,"user":{"gravatar_id":"2a22d848b8e680f425c1219ef1e3605c","id":742745,"url":"https://api.github.com/users/jaygen","avatar_url":"https://secure.gravatar.com/avatar/2a22d848b8e680f425c1219ef1e3605c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jaygen"},"body":"```ruby\r\ngem 'em-synchrony', :require => ['em-synchrony',\r\n                                   'em-synchrony/em-http',\r\n                                   'em-synchrony/activerecord'],\r\n      :git => 'git://github.com/igrigorik/em-synchrony.git'\r\n```\r\n\r\nIs causing Bundler to report \r\n<pre>\r\nLoadError: no such file to load -- em/synchrony\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/bundler/runtime.rb:76:in `require'\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/bundler/runtime.rb:76:in `rescue in block in require'\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/bundler/runtime.rb:62:in `block in require'\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/bundler/runtime.rb:55:in `each'\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/bundler/runtime.rb:55:in `require'\r\n\tfrom /Users/xxx/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.1.rc/lib/Bundler.rb:128:in `require'\r\n\tfrom (irb):6\r\n\tfrom /Users/xxx/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'\r\n</pre>\r\n\r\nI modified runtime.rb like so to avoid this error, but I'm not entirely sure how else to get around this new 'feature' properly.\r\n\r\n<pre>\r\n 73           #if dep.name.include?('-')\r\n 74           #  begin\r\n 75           #    namespaced_file = dep.name.gsub('-', '/')\r\n 76           #    Kernel.require namespaced_file\r\n 77           #  rescue LoadError\r\n 78           #    REGEXPS.find { |r| r =~ e.message }\r\n 79           #    raise if dep.autorequire || $1.gsub('-', '/') != namespaced_file\r\n 80           #  end\r\n 81           #else\r\n 82             raise if dep.autorequire || $1 != required_file\r\n 83           #end\r\n</pre>","assignee":{"gravatar_id":"fb389f1e8b98d5d03be29e9dd309b3be","id":78,"url":"https://api.github.com/users/indirect","avatar_url":"https://secure.gravatar.com/avatar/fb389f1e8b98d5d03be29e9dd309b3be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"indirect"},"id":2223924,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1531,"labels":[],"title":"Bundle.require (1.1 RC) not allowing dashes in requires","closed_at":"2011-11-30T23:00:13Z","html_url":"https://github.com/carlhuda/bundler/issues/1531","url":"https://api.github.com/repos/carlhuda/bundler/issues/1531","milestone":{"state":"open","created_at":"2011-04-12T22:07:18Z","closed_issues":52,"due_on":null,"creator":{"gravatar_id":"efb7c66871043330ce1310a9bdd0aaf6","id":16457,"url":"https://api.github.com/users/hone","avatar_url":"https://secure.gravatar.com/avatar/efb7c66871043330ce1310a9bdd0aaf6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"hone"},"number":12,"description":"","title":"1.1","url":"https://api.github.com/repos/carlhuda/bundler/milestones/12","open_issues":4}},"action":"closed"}