Setup autopair mode for ruby.