gave ruby solve script .rb extension