Error varies by Ruby version.