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

3.5.2 breaks omniauth adapters #407

Closed
2called-chaos opened this issue Feb 11, 2017 · 2 comments
Closed

3.5.2 breaks omniauth adapters #407

2called-chaos opened this issue Feb 11, 2017 · 2 comments

Comments

@2called-chaos
Copy link

@2called-chaos 2called-chaos commented Feb 11, 2017

I just figured that updating hashie from 3.5.1 to 3.5.2 breaks at least two of my omniauth-providers with this trace:

/Users/chaos/.gem/ruby/2.3.0/gems/bundler-1.14.3/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'omniauth-twitter'. (Bundler::GemRequireError)
Gem Load Error is: private method `warn' called for nil:NilClass
Backtrace for gem load error is:
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:334:in `log_built_in_message'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:139:in `custom_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:207:in `block in deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `each_pair'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:115:in `initialize'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth/auth_hash.rb:24:in `new'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth/auth_hash.rb:24:in `regular_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:140:in `custom_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:207:in `block in deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `each_pair'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:115:in `initialize'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:45:in `new'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:45:in `defaults'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:50:in `initialize'
[..]
@michaelherold
Copy link
Member

@michaelherold michaelherold commented Feb 11, 2017

Thank you for the bug report.

There's already a fix for this in #406.

@michaelherold
Copy link
Member

@michaelherold michaelherold commented Feb 11, 2017

The just-released v3.5.3 should fix this problem for you. Apologies for the bumpy ride!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.