My Gemfile contains
gem "will_paginate", :git => "git://github.com/mislav/will_paginate.git", :branch => "rails3"
/opt/local/lib/ruby/gems/1.8/gems/bundler-0.9.7/lib/bundler/source.rb:242:in `specs': /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- /Users/zven/.bundle/ruby/1.8/cache/bundler/git/will_paginate-6ad077380835d8b425f1d46ebc3ada46214e7bbb/lib/will_paginate/version (LoadError)
Complete useless trace available in this gist
Looks like a Bundler bug, but I'm not sure. Does the supposedly missing ".../will_paginate/version" file exist on your filesystem?
I don't know what "will_paginate-6ad077380835d8b425f1d46ebc3ada46214e7bbb" is. It looks like a git SHA reference to a commit, but this commit doesn't exist in will_paginate. Maybe it's some internal Bundler hash.
Yeah, it seems a bug of bundler. Previous trace related to master branch, the .gemspec is trying to require File.expand_path('../lib/will_paginate/version', FILE).
Rails3 brunch don't use expand_path. Results in "no such file to load -- lib/will_paginate/version". In both cases there are no will-paginate source files at all in bundler's cache. Just git stuff. So we can close this ticket and probably ping carlhuda.
You do that. Closing
Still not working :(
Changed to use expand_path. Should work now?