remove unnecessary gems and files