Skip to content

Commit

Permalink
Create .gem directory first
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJo committed Feb 1, 2019
1 parent d770e93 commit 9c8a3e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- run:
name: Login to RubyGems.org
command: |
mkdir ~/.gem; \
curl -u ${RUBYGEMS_USER}:${RUBYGEMS_PASS} https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; \
chmod 0600 ~/.gem/credentials
- run:
Expand Down

2 comments on commit 9c8a3e9

@tedWexus
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how it went for you, but setting up Circle 2.0 for our app was a pain in the neck!

@AndrewJo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get that they wanted it to be more flexible with workflows but they definitely made it more complicated with steeper learning curve than 1.0. Our CircleCI 2.0 configs are generally around 3-5x longer than the old CircleCI 1.0 config YAML.

Please sign in to comment.