change ruby version to p247