'gem update --system' is causing build to abort

Brian's Avatar


03 Nov, 2017 07:41 PM

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.



  1. 1 Posted by Brian on 06 Nov, 2017 03:54 PM

    Brian's Avatar

    Perhaps a bug with Ruby Gems:


    Odd that this broken version slipped into AppVeyor images.

  2. Support Staff 2 Posted by Feodor Fitsner on 06 Nov, 2017 05:31 PM

    Feodor Fitsner's Avatar

    So, as I understand during Ruby upgrade we happened to install "broken" Ruby Gems?

    We are running these lines during Ruby installation:

    gem install rubygems-update --no-ri --no-rdoc
    gem update --system

    Looks like re-installing Ruby should fix the issue?

  3. 3 Posted by Brian on 07 Nov, 2017 02:20 PM

    Brian's Avatar

    Is this something you want me to add to my install section? Or just some notes?

  4. Support Staff 4 Posted by Feodor Fitsner on 07 Nov, 2017 10:03 PM

    Feodor Fitsner's Avatar

    I'm not sure if that helps. But perhaps re-installing Ruby during the build will? You can also remove gem update --system for now or switch to a "previous" build worker image.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Jun, 2018 12:07 AM
17 Jun, 2018 04:04 PM
16 Jun, 2018 08:06 PM
16 Jun, 2018 07:30 PM
16 Jun, 2018 09:22 AM


15 Jun, 2018 09:31 PM
15 Jun, 2018 08:31 PM
15 Jun, 2018 04:29 PM
15 Jun, 2018 12:39 PM
15 Jun, 2018 12:37 PM
15 Jun, 2018 08:21 AM