What happens when modifying Gemfile.lock directly?

后端 未结 2 1520
忘掉有多难
忘掉有多难 2020-12-29 09:07

Since the second time of bundle install execution, dependencies are loaded from Gemfile.lock as long as Gemfile isn\'t changed.

But I wonder how detecti

2条回答
  •  一生所求
    2020-12-29 09:45

    If you edit your Gemfile.lock then Rails app would depend on another versions of gems... The integrity of your gem-versioning system would be broken in this case. It's a very-very bad idea to edit Gemfile.lock file directly.

    Please, be a good guy and make deals with Gemfile only

提交回复
热议问题