Search code examples
rubygemsbundlergemfile.lock

Gemfile.lock generates BUNDLED WITH


I have been googling around about this, seems I couldn't find a solution regarding this issue. So here is a thing, I am currently working rails project with my colleague, it was working fine till she changed her laptop and re-setup her environment from scratch...

Whenever she changes something on the project, the Gemfile.lock always writes this at the end of the file:

BUNDLED WITH
1.10.0.rc

And every time she accidentally commits this Gemfile.lock, it gets really troublesome for other devs to work because it always gives a message that we need to commit/clash something because on our environment, it automatically remove it


Solution

  • Either she has to downgrade her bundler or the rest of the team should upgrade their bundler, I would recommend the later of course

    gem update bundler