Configure project for production. Update Gemfile, precompile assets