Gem 'gon' issue on Ubuntu LTS

Related to #5943