Skip to content
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

undefined method +' for Hash: git-rank.rb:16:in each' #2

Open
kadishmal opened this issue Jun 14, 2013 · 0 comments
Open

undefined method +' for Hash: git-rank.rb:16:in each' #2

kadishmal opened this issue Jun 14, 2013 · 0 comments

Comments

@kadishmal
Copy link

The following error has occurred when I tried to run git rank.

$ git rank --author "Author Name"
warning: only found copies from modified paths due to too many files.
warning: you may want to set your diff.renamelimit variable to at least 5073 and retry the command.
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `inject': undefined method `+' for {:additions=>39, :deletions=>18, :net=>21, :total=>57}:Hash (NoMethodError)
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank.rb:16:in `each'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank.rb:16:in `inject'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank.rb:16:in `sum'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank/printer.rb:11:in `print'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank/printer.rb:10:in `each'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/lib/git-rank/printer.rb:10:in `print'
    from /var/lib/gems/1.8/gems/git-rank-0.0.1/bin/git-rank:9
    from /usr/local/bin/git-rank:19:in `load'
    from /usr/local/bin/git-rank:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant