{"action":"created","issue":{"url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/74","labels_url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/74/comments","events_url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/74/events","html_url":"https://github.com/googleads/google-api-ads-ruby/issues/74","id":117362928,"number":74,"title":"cannot load such file -- ads_savon","user":{"login":"kcore","id":369607,"avatar_url":"https://avatars.githubusercontent.com/u/369607?v=3","gravatar_id":"","url":"https://api.github.com/users/kcore","html_url":"https://github.com/kcore","followers_url":"https://api.github.com/users/kcore/followers","following_url":"https://api.github.com/users/kcore/following{/other_user}","gists_url":"https://api.github.com/users/kcore/gists{/gist_id}","starred_url":"https://api.github.com/users/kcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcore/subscriptions","organizations_url":"https://api.github.com/users/kcore/orgs","repos_url":"https://api.github.com/users/kcore/repos","events_url":"https://api.github.com/users/kcore/events{/privacy}","received_events_url":"https://api.github.com/users/kcore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-17T14:15:20Z","updated_at":"2015-12-01T16:04:55Z","closed_at":"2015-11-18T17:37:41Z","body":"the latest version of the adwords_api gem (> 0.17.0) which now uses google-ads-savon instead of the standard savon gem doesn't seem to work.\r\nWe have a standard 3.2.11 rails app with nginx and passenger enabled. The application boots up fine with the webrick server, but the moment we put it behind passenger, it gives the standard passenger error (Web application could not be started). \r\n\r\n```ruby\r\nNo such file to load -- ads_savon (LoadError)\r\n  vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:317:in `rescue in depend_on'\r\n  vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:312:in `depend_on'\r\n  vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:225:in `require_dependency'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/engine.rb:438:in `each'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/engine.rb:438:in `block in eager_load!'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/engine.rb:436:in `each'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/engine.rb:436:in `eager_load!'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!'\r\n  vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'\r\n  config/environment.rb:4:in `<top (required)>'\r\n  config.ru:3:in `require'\r\n  config.ru:3:in `block in <main>'\r\n  vendor/bundle/ruby/2.0.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `instance_eval'\r\n  vendor/bundle/ruby/2.0.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `initialize'\r\n  config.ru:1:in `new'\r\n  config.ru:1:in `<main>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `eval'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `preload_app'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:158:in `<module:App>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:28:in `<main>'\r\n```\r\n\r\nthe normal rails console and everything works fine with ads_savon being available in it and api working fine. \r\n\r\nI tried doing  `require \"ads_savon\"` in config/application.rb then the passenger throws the following error: \r\n```\r\ncannot load such file -- ads_savon (LoadError)\r\n  config/application.rb:1:in `require'\r\n  config/application.rb:1:in `<top (required)>'\r\n  config/environment.rb:2:in `require'\r\n  config/environment.rb:2:in `<top (required)>'\r\n  config.ru:3:in `require'\r\n  config.ru:3:in `block in <main>'\r\n  vendor/bundle/ruby/2.0.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `instance_eval'\r\n  vendor/bundle/ruby/2.0.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in `initialize'\r\n  config.ru:1:in `new'\r\n  config.ru:1:in `<main>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `eval'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `preload_app'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:158:in `<module:App>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'\r\n  /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:28:in `<main>'\r\n```\r\n\r\nNot able to figure out what the issue is - load sequence of the passenger rack pre_loader... or what?\r\n"},"comment":{"url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/comments/161014060","html_url":"https://github.com/googleads/google-api-ads-ruby/issues/74#issuecomment-161014060","issue_url":"https://api.github.com/repos/googleads/google-api-ads-ruby/issues/74","id":161014060,"user":{"login":"mcloonan","id":5980822,"avatar_url":"https://avatars.githubusercontent.com/u/5980822?v=3","gravatar_id":"","url":"https://api.github.com/users/mcloonan","html_url":"https://github.com/mcloonan","followers_url":"https://api.github.com/users/mcloonan/followers","following_url":"https://api.github.com/users/mcloonan/following{/other_user}","gists_url":"https://api.github.com/users/mcloonan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcloonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcloonan/subscriptions","organizations_url":"https://api.github.com/users/mcloonan/orgs","repos_url":"https://api.github.com/users/mcloonan/repos","events_url":"https://api.github.com/users/mcloonan/events{/privacy}","received_events_url":"https://api.github.com/users/mcloonan/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T16:04:55Z","updated_at":"2015-12-01T16:04:55Z","body":"You can still use google-ads-savon v 1.0.1 with the current version of google-ads-common; just manually install the new one and remove the old one.\r\n\r\nThe next version of ads-common will update the dependency as well."}}