fix homebrew ruby path to be upgrade compatible