More general error should be raised, since MRI/JRuby raise a NameError here but
RBX raises a NoMethodError.