Last active
July 25, 2018 04:53
-
-
Save adampats/328dabb581843c5a287912a9b530e8cf to your computer and use it in GitHub Desktop.
Get rubygems api token for ~/.gem/credentials
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user="adampats" | |
curl -u "$user" "https://rubygems.org/api/v1/api_key.yaml" > ~/.gem/credentials | |
chmod 0600 ~/.gem/credentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment