travis: fixing ruby version names
has many for rails 3 and rails 4.