Ruby gem exception: invalid option

Below is my ‘quick fix’ (bandaid) solution to the following errors/exceptions.

The errors

A reference article https://github.com/puphpet/puphpet/issues/2838

The ‘quick fix’

W.r.t. the reference article, I searched for the file ‘gem.rb’. Since ‘locate’ was not installed in the OS, I used the ‘find’ command to look for the file:

In the gem.rb file, I found the line throwing the exception and made the following modification:

--

--

A pragmatic programmer with a rubber duck.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store