Rails App - Getting a 'LoadError cannot load such file -- adwords_api' in the Login Controller

223 views
Skip to first unread message

Arjun Rajkumar

unread,
Mar 28, 2017, 2:47:11 AM3/28/17
to AdWords API Forum
Hi, 

I am getting this no file error - while requiring the 'adwords_api' file in the login controller. 

I have also added 'adwords_api' to the config directory. 

Any help on fixing this will be great. 

Thanks

Arjun

Peter Oliquino

unread,
Mar 28, 2017, 3:10:37 AM3/28/17
to AdWords API Forum
Hi Arjun,

Could you confirm if what you mentioned as config directory is your home directory? If not, then you will need to put you adwords_api.yml in your home directory and retry your request. You may also refer to this guide for more information.

Best regards,
Peter
AdWords API Team

Arjun Rajkumar

unread,
Mar 28, 2017, 8:21:14 AM3/28/17
to AdWords API Forum
Hi Peter, 

Thanks. Fixed this. The position of the file was correct - but I had forgotten to add 'gem 'google-adwords-api', '~> 0.18.0' in my gemfile.

Thanks

Arjun
Reply all
Reply to author
Forward
0 new messages