Installed the ruby mode package, which fixes highlighting for ruby 2 syntax.