You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system (Linux, Windows, ...) and version?
red hat el6
Linux version 2.6.32-754.25.1.el6.i686 (mockbuild@x86-031.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP Wed Nov 20 15:06:20 EST 2019 What runtime / compiler are you using (e.g., python version or gcc version)
What did you do?
Steps to reproduce the behavior:
Try to deploy with capistrano
Deploy reaches db migrations
see error
See error
What did you expect to see
Expected to see db:migrate complete What did you see instead?
Google::Protobuf::TypeError: Unable to add defs to DescriptorPool: out of memory
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment
The entire config lives in application.rb:
require_relative 'boot'
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "active_storage/engine"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "action_cable/engine"
require "sprockets/railtie"
require "google/ads/google_ads"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module GoogleAdsTask
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
# Don't generate system test files.
config.generators.system_tests = nil
# Set up the Google Ads API client for use in the app
# Accessible by Rails.application.config.gclient
config.gclient = Google::Ads::GoogleAds::GoogleAdsClient.new do |config|
config.client_id = Rails.application.credentials.client_id
config.client_secret = Rails.application.credentials.client_secret
config.refresh_token = Rails.application.credentials.refresh_token
config.developer_token = Rails.application.credentials.developer_token
config.login_customer_id = Rails.application.credentials.login_customer_id
config.logger = Logger.new(STDOUT)
end
end
end
The text was updated successfully, but these errors were encountered:
What version of protobuf and what language are you using?
Version: 3.1.2 as defined in https://github.com/googleads/google-ads-ruby/blob/master/google-ads-googleads.gemspec
Language: Ruby
What operating system (Linux, Windows, ...) and version?
red hat el6
Linux version 2.6.32-754.25.1.el6.i686 (mockbuild@x86-031.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP Wed Nov 20 15:06:20 EST 2019
What runtime / compiler are you using (e.g., python version or gcc version)
What did you do?
Steps to reproduce the behavior:
What did you expect to see
Expected to see db:migrate complete
What did you see instead?
Google::Protobuf::TypeError: Unable to add defs to DescriptorPool: out of memory
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment
The entire config lives in application.rb:
The text was updated successfully, but these errors were encountered: