Ruby gem update fix for MacOS