在TeamCity中构建我的ruby项目时出现了下列错误。这是否意味着我的TeamCity服务器具有较旧版本的Bundler?
[03:18:07][Step 1/2] Resolving dependencies...
[03:18:07][Step 1/2] Your lockfile was created by an old Bundler that left some things out.
[03:18:07][Step 1/2] You can fix this by adding the missing gems to your Gemfile, running bundle install, and then removing the gems from your Gemfile.
[03:18:07][Step 1/2] The missing gems are:
答案 0 :(得分:1)
这意味着您的本地系统具有旧版本的Bundler而不是TeamCity上运行的版本。
您应该可以通过更新Bundler来解决本地问题:
gem install bundler
然后再次运行bundle,它应该使用Bundler的TeamCity版本想要查看的任何信息更新你的Gemfile.lock。