Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unable to install with bundler from git repo #28

wildchild opened this Issue Feb 19, 2010 · 6 comments


None yet
3 participants

My Gemfile contains

gem "will_paginate", :git => "git://github.com/mislav/will_paginate.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


mislav commented Feb 19, 2010

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.


mislav commented Feb 19, 2010

You do that. Closing

Still not working :(


mislav commented Apr 19, 2010

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