-
Notifications
You must be signed in to change notification settings - Fork 130
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 `sum' #33
Comments
Fix add require 'active_support'
require 'active_support/core_ext' but i guess it not best solution |
Guessing, you're on an older version of ruby? This was introduced in 13aed0b. /cc @cheerfulstoic |
My version of ruby is 2.3.1 └─ $ ▶ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] |
Right, figures... Sum is 2.4+ http://blog.bigbinary.com/2016/11/02/ruby-2-4-introduces-enumerable-sum.html. @cheerfulstoic I propose we revert the sum update until 2.3 is deprecated. |
(Was editing in the UI and I couldn't see a way to do it in one PR) |
I'm try run examples/simple.rb in master but throw this error:
Try gem version 0.5.0 and work find, maybe it introduced in pull request #32
The text was updated successfully, but these errors were encountered: