Remove useless gems and upgrade ruby