fixing some of the deployment issues with gems