how to prevent bundler from adding platform info to Gemfile.lock

杀马特。学长 韩版系。学妹 提交于 2019-12-05 21:18:24
pjmorse

I had a very similar question - Can I stop Bundler from adding RUBY VERSION to Gemfile.lock - and it turns out the answer is that it can't be done. Bundler adds this information within the to_lock method and there's no conditional to skip that section.

It seems like it would be possible to refactor to_lock to control which sections of the lockfile are actually written, but so far this hasn't been enough of a pain point for me to make that effort yet.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!