Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

uninitialized constant error #44

Open
james-lawrence opened this issue May 25, 2016 · 7 comments
Open

uninitialized constant error #44

james-lawrence opened this issue May 25, 2016 · 7 comments

Comments

@james-lawrence
Copy link

james-lawrence commented May 25, 2016

$HOME/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:89:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'adal'. (Bundler::GemRequireError)
Gem Load Error is: uninitialized constant ADAL::ClientAssertionCertificate::RequestParameters

constantly run into that error when using this gem fixed by modifying adal/client_assertion_certificate.rb with

require_relative 'request_parameters.rb'

or by ensuring the adal/client_assertion_certificate.rb loads after the request_parameters.rb

mv adal/{,requests_}client_assertion_certificate.rb

definitely seems to be some issue with the gem setup.

@brandwe
Copy link
Contributor

brandwe commented Apr 26, 2017

This was fixed in #50. Close if you agree.

@franzen
Copy link

franzen commented Oct 6, 2017

I can verify that #50 fixes this. Why have you not published an updated version of the gem? Kind of annoying to spend time troubleshoot only to find out it is already fixed!?!

@jaykannan
Copy link

It doesn't work for me yet, I have to invoke the gem using
gem 'adal', github: 'AzureAD/azure-activedirectory-library-for-ruby', ref: '24e1b7f0dc374dcb968171f80e832118691d288c'

@adammartin-mednax
Copy link

When will you publish this fix as a gem?

@arseny-emchik
Copy link

@xerners We really need updated version of the gem

@fatalglitch
Copy link

When is this going to be published to an updated gem? Can't believe this is years old and still affecting current version

@jcavalieri
Copy link

Another year, but still not published to ruby gems?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants