I have the following error while trying to deploy a gem to rubygems.org via docker
Releasing new Gem fastlane-plugin-lizard 1.1.0 built to pkg/fastlane-plugin-lizard-1.1.0.gem. Tagged v1.1.0. Pushed git commits and tags. rake aborted! Your rubygems.org credentials aren't set. Run `gem push` to set them. /root/repo/Rakefile:20:in `block in <top (required)>' /usr/local/bundle/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' Tasks: TOP => release => release:rubygem_push (See full trace by running task with --trace) Exited with code 1
I can’t do a gem push and add credentials in without human intervention. Is there other ways to go about doing it?
I am looking at setting a file at
~/.gem/credentials to enable
rake release to work. Please help!