Remove unnecessary gems and files