azure-activedirectory-library-for-ruby icon indicating copy to clipboard operation
azure-activedirectory-library-for-ruby copied to clipboard

uninitialized constant error

Open james-lawrence opened this issue 8 years ago • 7 comments

$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.

james-lawrence avatar May 25 '16 23:05 james-lawrence

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

brandwe avatar Apr 26 '17 14:04 brandwe

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!?!

franzen avatar Oct 06 '17 12:10 franzen

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'

jaykannan avatar Oct 30 '17 13:10 jaykannan

When will you publish this fix as a gem?

adammartin-mednax avatar Jan 29 '18 16:01 adammartin-mednax

@xerners We really need updated version of the gem

arseny-emchik avatar Jun 14 '18 19:06 arseny-emchik

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

fatalglitch avatar Jun 22 '20 14:06 fatalglitch

Another year, but still not published to ruby gems?

jcavalieri avatar Sep 08 '21 21:09 jcavalieri