Config and Gemfile changes for deployment