add ruby-mode configurations.