Disable rubocop when ruby version is 1.8.7.