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

gem 'promise.rb' leads to "undefined method `arity' for nil:NilClass" #33

Closed
meesern opened this issue Aug 4, 2017 · 1 comment
Closed

Comments

@meesern
Copy link

meesern commented Aug 4, 2017

Hi.

Installing as described (in my case with bundler gem 'promise') succeeds but installs the wrong gem - i.e. it installs this older and completely different promises library: https://github.com/bhuga/promising-future

Since the install appears to succeed the mistake is not apparent until you try to use the library - at which time Promise.new fails with the runtime exception:

undefined method `arity' for nil:NilClass
@meesern
Copy link
Author

meesern commented Aug 4, 2017

My Mistake:

gem 'promise.rb' works fine as documented. gem 'promise' leads to the error. Probably worth leaving in in case anyone does the same.

@meesern meesern closed this as completed Aug 4, 2017
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