update ruby version
update psenvsub example