Oops...turns out the error you get from trying to modify a frozen array varies, depending on your Ruby version.