google-api-ads-ruby
google-api-ads-ruby copied to clipboard
File permissions issue in google-dfp-api-1.11.0 and google-dfp-api-1.12.0 gems
Hello, we are having errors like LoadError: cannot load such file -- ad_manager_api
on our servers due to restrictive file permissions in the two latest versions of the gem published on RubyGems.
For example ad_manager_api.rb file is not readable by Other
:
$ ls -l /usr/local/bundle/gems/google-dfp-api-1.12.0/lib/
drwxr-sr-x 6 root staff 4096 Oct 27 10:33 ad_manager_api
-rw-r----- 1 root staff 3602 Oct 27 10:33 ad_manager_api.rb
Hello, we have the same issue with the new google-dfp-api-1.13.0 version.
The problem happened before in https://github.com/googleads/google-api-ads-ruby/issues/29 https://github.com/googleads/google-api-ads-ruby/issues/74 and https://github.com/googleads/google-api-ads-ruby/issues/89.
Thank you.
Any solutions for this? Having the same issue on AWS elastic beanstalk servers when trying to deploy.
As a workaround we pointed to the GitHub repository instead of the Rubygem in our Gemfile like this:
git '[email protected]:googleads/google-api-ads-ruby.git' do
gem 'google-dfp-api', tag: 'ad_manager_api-1.13.0', glob: 'ad_manager_api/*.gemspec'
gem 'google-ads-common', tag: 'ad_manager_api-1.13.0', glob: 'ads_common/*.gemspec'
end
Thanks for letting me know about this issue. I'll look into it and get back to you.
That workaround allowed me to deploy and saved me another day of banging my head against the desk. Thank you very much!
This is also an issue with Google Ads v14 and v15 (but v13 works).