install script adjusted for current ruby