Apply ruby mode for irbrc and railsrc