fix rotate, left, right keys in Ruby version

For unknown reason, three keys are wrong.