[setup] Fix bug in ruby install script