rubygems - Gemfile.lock check-in when developing a gem. Why don't we check in a gemfile.lock? -


i read quote blog:

in general, gem's gemfile should contain rubygems source , single gemspec line. not check gemfile.lock version control, since enforces precision not exist in gem command, used install gems in practice. if precision enforced, wouldn't want it, since prevent people using library versions of dependencies different ones used develop gem.

i don't it. why checking in gemfile.lock prevent people using gem versions of gem's dependenciess different ones used in development? isn't whole point of gemfile.lock?

when run bundle install, doesn't @ gmefile.lock determine versions of gems install?


Comments