Provide a better error message for the -E option in ruby 1.8.

Closes #875.