Make ruby and gem more osx friendly