Showing error message when using Ruby < 1.9