fixing gem path hack for ubuntu