change to ruby  file