Ruby: be less strict about returned capabilities.