tag:help.appveyor.com,2012-11-13:/discussions/problems/9536-gem-update-system-is-causing-build-to-abortAppVeyor: Discussion 2018-08-25T02:21:10Ztag:help.appveyor.com,2012-11-13:Comment/439487112017-11-03T19:41:54Z2017-11-03T19:41:54Z'gem update --system' is causing build to abort<div><p>This line in my appveyor install section is now breaking the build. It was working fine 2 weeks ago. I've not changed anything related to appveyor.</p>
<p>Failure:<br>
<a href="https://ci.appveyor.com/project/bdb/core/build/1.0.144/job/4dpw1cj6k00gdnha">https://ci.appveyor.com/project/bdb/core/build/1.0.144/job/4dpw1cj6...</a></p>
<p>Config:<br>
<a href="https://github.com/ProsoftEngineering/core/blob/fs17/appveyor.yml">https://github.com/ProsoftEngineering/core/blob/fs17/appveyor.yml</a></p></div>Briantag:help.appveyor.com,2012-11-13:Comment/439487112017-11-06T15:54:54Z2017-11-06T15:54:55Z'gem update --system' is causing build to abort<div><p>Perhaps a bug with Ruby Gems:</p>
<p><a href="https://github.com/rubygems/rubygems/pull/2054">https://github.com/rubygems/rubygems/pull/2054</a></p>
<p>Odd that this broken version slipped into AppVeyor images.</p></div>Briantag:help.appveyor.com,2012-11-13:Comment/439487112017-11-06T17:31:57Z2017-11-06T17:31:57Z'gem update --system' is causing build to abort<div><p>So, as I understand during Ruby upgrade we happened to install "broken" Ruby Gems?</p>
<p>We are running these lines during Ruby installation:</p>
<pre>
<code>gem install rubygems-update --no-ri --no-rdoc
update_rubygems
gem update --system</code>
</pre>
<p>Looks like re-installing Ruby should fix the issue?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/439487112017-11-07T14:20:13Z2017-11-07T14:20:14Z'gem update --system' is causing build to abort<div><p>Is this something you want me to add to my install section? Or just some notes?</p></div>Briantag:help.appveyor.com,2012-11-13:Comment/439487112017-11-07T22:03:18Z2017-11-07T22:03:18Z'gem update --system' is causing build to abort<div><p>I'm not sure if that helps. But perhaps re-installing Ruby during the build will? You can also remove <code>gem update --system</code> for now or switch to a "previous" build worker image.</p></div>Feodor Fitsner