fix ruby lookup path error