Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Changing a git URL breaks bundle lock #221

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

Changing a git URL breaks bundle lock #221

indirect opened this issue Mar 26, 2010 · 0 comments

Comments

@indirect
Copy link
Member

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant