update ruby script, added .. to cache path.