add auto command for ruby