Changing a git URL breaks `bundle lock` #221

Closed
indirect opened this Issue Mar 26, 2010 · 0 comments

Comments

Projects
None yet
1 participant
@indirect
Owner

indirect commented Mar 26, 2010

Original Gemfile:

gem "rails3-generators", :git => "git@github.com:indirect/rails3-generators.git"

Ran bundle install; bundle lock, changed Gemfile to:

gem "rails3-generators", :git => "git://github.com/indirect/rails3-generators.git"

Got "Gemfile changed, relock" error, but running bundle lock produced:

$ bundle lock
/usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/source.rb:324:in `chdir': No such file or directory - /Users/andre/.bundle/ruby/1.8/cache/bundler/git/rails3-generators-8010929e3203c4543e8d6c10de05c4b2f4b83deb (Errno::ENOENT)
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/source.rb:324:in `in_cache'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/source.rb:320:in `revision'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/source.rb:264:in `lock'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/runtime.rb:59:in `lock'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/runtime.rb:59:in `each'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/runtime.rb:59:in `lock'
    from /usr/local/Cellar/Gems/1.8/gems/bundler-0.9.9/lib/bundler/cli.rb:76:in `lock'

joevandyk pushed a commit to joevandyk/bundler that referenced this issue May 16, 2011

joevandyk pushed a commit to joevandyk/bundler that referenced this issue May 16, 2011

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment