set the ruby-version
two minor bugs