Add rspec mode hook to ruby mode