ruby1.9 require encode strings