remove redundant gems and make all caps env vars