[英]In Rails, why there is a new Gemfile.lock when no bundle or bundle install was run? (and a new Gemfile timestamp too)
It is very strange that all of a sudden, there is a new Gemfile.lock
in my folder, even though I have not run bundle
or bundle install
or bundle update
for a few days. 奇怪的是,即使我几天都没有运行bundle
或bundle install
或bundle update
,我的文件夹中还是突然有了一个新的Gemfile.lock
。
Also, I have merged in any changes and committed and pushed 1 hour ago, so this newly modified Gemfile.lock
seems weird. 另外,我已经合并了所有更改,并在1小时前提交并推送,所以这个新修改的Gemfile.lock
似乎很奇怪。
Also, the timestamp of Gemfile
is just 1 minute before the timestamp (modification time) of Gemfile.lock
, but I checked the Mercurial log and Gemfile
was modified 3 days ago, and I pull any new changes 12 hours ago and there wasn't any change... 而且,时间戳Gemfile
是时间戳(修改时间)前仅仅1分钟Gemfile.lock
,但我查了水银日志和Gemfile
2天前被修改,和我拉任何新的变化2小时前,有没有任何改变...
So why a new timestamp of Gemfile
, and why is Gemfile.lock
also modified? 那么,为什么要使用新的Gemfile
时间戳,为什么还要修改Gemfile.lock
?
您可以尝试再次运行“捆绑安装”,并查看它是否会更改您的Gemfile.lock文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.