Configured coverage task to handle both versions of Ruby