Delete unnecessary files; upgrade ruby version via deployment