fix #697, Validate eruby file