I’m having “`private_method_defined?’: wrong number of arguments (given 2, expected 1) (ArgumentError)” error when trying to configure my Gitlab CI/CD to automatically deploy to heroku after every push. It worked previously but now it doesn’t. I didn’t change anything to my config file. Was wondering if anyone have a fix for this?
The error is coming from this line:
It appears there was a merge to this gem’s code yesterday which reduced the expected arguments from 2 to 1.
I believe if you remove the second argument for this gem from your CI job, the job should start working again.
Thank you. That fixes my issue.