-
-
Notifications
You must be signed in to change notification settings - Fork 849
TypeError: no implicit conversion of nil into Array #738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I was able to pinpoint the problem to the cache that the Octokit client uses, disabling that option will make it work until this line where This is the command I used github_changelog_generator "graphql-devise/graphql_devise" --no-http-cache --future-release 'v0.3.0' |
@mcelicalderon Any idea why this is suddenly happening? I've been through all dependencies and tried older versions, but no luck finding a culprit. |
Well this was the first time I used the gem on MacOS, so I'm guessing it has something to do with the lower level system tools the http client uses for caching. Also for the Also just realized how behind the latest release is from what there is on master. I did get the same cache error running the gem on the master branch, but I haven't try installing that globally to use as a command line tool without cache (there is no option to disable cache from the rake task). |
I'm on Ubuntu and it just stopped working a few? days ago. At Vox Pupuli, we use it as part of our module release process. AFAIK, it's, (all versions I've tried), broken for everyone trying to use it right now. The @mcelicalderon If it's still working for you in Ubuntu, can you dump all the gems and versions you're using (and ruby version)? Perhaps I missed something in my testing. |
If it is still working on your Ubuntu box, does deleting |
I just checked that my Ubuntu setup is not affected by removing the
|
I opened a PR here #739 That should work for now as a workaround to this issue when using the rake task at least as active Support is correctly loaded |
Also
|
I'm 99% sure the issue was in Faraday. I had tried 0.15.X and it didn't work for me. But... that's because I didn't also clear
|
Having gotten it working, if I downgrade faraday to 0.16 (by pinning in the Gemfile), it still works until I remove the cache directory and try again. No wonder I had so much trouble figuring out which gem to point my finger at... :) |
@iMacTia Thank you for the 0.17 release. Is it worth mentioning needing to clear cache directories in the 0.17 release notes? |
Confirming Faraday 0.17 also fixes the issue on MacOS, thanks. I'll close this issue now as it is not related to this gem. Also the new release 1.15 of this gem (still not available in rubygems) fixes the activesupport include problem. |
@alexjfisher thanks for pointing that out, it's a gem-specific issue since we have no caching in Faraday, but I'll happily add it as a note to the release in case that could save some time to others 😃 |
I have a really weird issue on MacOS, everything works fine in Ubuntu with the same repository, I have set the same github token.
Repository is public, so might be easy to replicate
https://github.com/graphql-devise/graphql_devise
I have tried using the rake task
bundle exec rake changelog
and also the global commandgithub_changelog_generator "graphql-devise/graphql_devise"
I can continue to generate the changelogs in in Linux so not a big deal, but I would really like to get to the root of this problem in MacOS.
Ruby version: 2.6.5
Gemfile.lock
Let me know if I can provide more information,
Thanks
The text was updated successfully, but these errors were encountered: