Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Unable to install with bundler from git repo #28

wildchild opened this Issue · 6 comments

3 participants


My Gemfile contains

gem "will_paginate", :git => "git://", :branch => "rails3"

bundle install

/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?


yep :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.