Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File permissions issue in google-dfp-api-1.11.0 and google-dfp-api-1.12.0 gems #175

Open
davidthou opened this issue Oct 28, 2020 · 6 comments

Comments

@davidthou
Copy link

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
@davidthou
Copy link
Author

davidthou commented Dec 16, 2020

Hello, we have the same issue with the new google-dfp-api-1.13.0 version.

The problem happened before in #29 #74 and #89.

Thank you.

@jleffert
Copy link

Any solutions for this? Having the same issue on AWS elastic beanstalk servers when trying to deploy.

@davidthou
Copy link
Author

As a workaround we pointed to the GitHub repository instead of the Rubygem in our Gemfile like this:

git 'git@github.com: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

@donovanfm
Copy link
Contributor

Thanks for letting me know about this issue. I'll look into it and get back to you.

@jleffert
Copy link

jleffert commented Jan 4, 2021

That workaround allowed me to deploy and saved me another day of banging my head against the desk. Thank you very much!

@ajcantu
Copy link

ajcantu commented Feb 14, 2022

This is also an issue with Google Ads v14 and v15 (but v13 works).

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

No branches or pull requests

4 participants