-
Notifications
You must be signed in to change notification settings - Fork 11
rake hubstats:setup : NoMethodError: undefined method `has_key?' for nil:NilClass #105
Comments
Sorry this has taken us so long to get back. Where this looks to be breaking is this line:
at https://github.com/sportngin/hubstats/blob/master/lib/hubstats/github_api.rb#L55. My guess is that you don't have a config file setup correctly, and that's why Your config file should look like this:
|
@emmasax4 |
@pilipenok I believe this issue has to do with the original setup of Hubstats, which doesn't read the |
@emmasax4 works for me when I add Hubstat config keys there without scopes. |
When I run rake hubstats:setup, I got this error :
NoMethodError: undefined method
has_key?' for nil:NilClass /Users/zakariabentahar/Downloads/hubstats-master/lib/hubstats/github_api.rb:55:in
get_repos'/Users/zakariabentahar/Downloads/hubstats-master/lib/tasks/populate_task.rake:7:in
block (3 levels) in <top (required)>' /Users/zakariabentahar/Downloads/hubstats-master/lib/tasks/hubstats_tasks.rake:11:in
block (2 levels) in <top (required)>'/Library/Ruby/Gems/2.0.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
Any idea ? thx
The text was updated successfully, but these errors were encountered: