Try to fix regex for ruby version on travis.