linkedin icon indicating copy to clipboard operation
linkedin copied to clipboard

NameError: uninitialized constant Api::QueryHelpers

Open leonardteo opened this issue 8 years ago • 1 comments

Hey guys,

Sorry to ask. I can't get this gem to work at all and I'm not sure why.

The gem is included in my Gemfile and Gemfile.lock

[1] pry(main)> client = LinkedIn::Client.new('xxx', 'xxx')
NameError: uninitialized constant Api::QueryHelpers
from /Users/leonardteo/.rvm/gems/ruby-2.1.6@artstation/gems/linkedin-1.1.0/lib/linked_in/client.rb:8:in `<class:Client>'

I took a look and I could not find a reason why Api::QueryHelpers would be uninitialized.

Any ideas?

leonardteo avatar Feb 08 '17 20:02 leonardteo

Hi there,

As I only do this in my free time and haven't done much active dev on this in a while. I'm not sure off the top of my head. Have you tried requiring the file directly?

-Matt On Wed, Feb 8, 2017 at 12:50 Leonard Teo [email protected] wrote:

Hey guys,

Sorry to ask. I can't get this gem to work at all and I'm not sure why.

The gem is included in my Gemfile and Gemfile.lock

[1] pry(main)> client = LinkedIn::Client.new('xxx', 'xxx') NameError: uninitialized constant Api::QueryHelpers from /Users/leonardteo/.rvm/gems/ruby-2.1.6@artstation/gems/linkedin-1.1.0/lib/linked_in/client.rb:8:in `class:Client'

I took a look and I could not find a reason why Api::QueryHelpers would be uninitialized.

Any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hexgnu/linkedin/issues/266, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIdDuaDYwFoqWKZDGdT2imag4cV7KvUks5raiqZgaJpZM4L7WEY .

-- Matthew Kirk www.matthewkirk.com Mobile: 206-409-6413

hexgnu avatar Feb 09 '17 02:02 hexgnu