#!/usr/bin/env bash set -ex echo "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials cat ~/.gem/credentials chmod 0600 ~/.gem/credentials