Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
错误是:您在开发中修改了 Gemfile,但没有将生成的快照(Gemfile.lock)检查到版本控制中
什么版本控制?Bundle 为什么/如何知道有关版本控制的任何信息?我刚刚从我的 Gemfile 中删除了一行。我不应该这样做吗?
从您rm -rf .bundle && bundle install的项目根目录执行。
rm -rf .bundle && bundle install