Skip to content

Instantly share code, notes, and snippets.

@MaxGabriel
Created December 6, 2013 20:00
Show Gist options
  • Save MaxGabriel/7831199 to your computer and use it in GitHub Desktop.
Save MaxGabriel/7831199 to your computer and use it in GitHub Desktop.
$ bundle exec pry-remote -r ./config/environment.rb
From: /var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb @ line 45 InGameApi::AdsController#fetch_ad:
40: t0 = Time.new
41: api_response = {}
42:
43: Pry.config.input = STDIN
44: Pry.config.output = STDOUT
=> 45: binding.remote_pry
46:
47: if Rails.env == "test" || Kernel.rand() < 0.002
48: Logstash.message("fetch_ad debug logging", :params => params)
49: end
50:
Error: argument must respond to `call'
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rb-readline-0.4.2/lib/readline.rb:88:in `completion_proc='
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:48:in `completion_proc='
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:25:in `completion_proc='
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:596:in `block in readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:544:in `handle_read_errors'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:589:in `readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:369:in `retrieve_line'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:304:in `block in r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:271:in `re'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:251:in `rep'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:231:in `block (3 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `block (2 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `block in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_class.rb:154:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:205:in `run'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:316:in `remote_pry'
/var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb:45:in `fetch_ad'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:646:in `block in _run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3363'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:293:in `block in timeout_wrapper'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:292:in `timeout_wrapper'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3363'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:447:in `_run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/accept_header_fix.rb:8:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/compressed_requests.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3989553028915443145__call__1125115695510271768__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/ip_spoof_protection.rb:10:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/logstash/middleware_catcher.rb:9:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:48:in `_call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/chunked.rb:43:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in `worker_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in `<top (required)>'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
Error: argument must respond to `call'
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rb-readline-0.4.2/lib/readline.rb:88:in `completion_proc='
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:48:in `completion_proc='
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:25:in `completion_proc='
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:596:in `block in readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:544:in `handle_read_errors'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:589:in `readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:369:in `retrieve_line'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:304:in `block in r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:271:in `re'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:251:in `rep'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:231:in `block (3 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `block (2 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `block in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_class.rb:154:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:205:in `run'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:316:in `remote_pry'
/var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb:45:in `fetch_ad'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:646:in `block in _run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3363'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:293:in `block in timeout_wrapper'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:292:in `timeout_wrapper'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3363'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:447:in `_run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/accept_header_fix.rb:8:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/compressed_requests.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3989553028915443145__call__1125115695510271768__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/ip_spoof_protection.rb:10:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/logstash/middleware_catcher.rb:9:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:48:in `_call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/chunked.rb:43:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in `worker_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in `<top (required)>'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
Error: argument must respond to `call'
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rb-readline-0.4.2/lib/readline.rb:88:in `completion_proc='
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:48:in `completion_proc='
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:25:in `completion_proc='
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:596:in `block in readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:544:in `handle_read_errors'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:589:in `readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:369:in `retrieve_line'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:304:in `block in r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:271:in `re'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:251:in `rep'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:231:in `block (3 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `block (2 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `block in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_class.rb:154:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:205:in `run'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:316:in `remote_pry'
/var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb:45:in `fetch_ad'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:646:in `block in _run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3363'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:293:in `block in timeout_wrapper'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:292:in `timeout_wrapper'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3363'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:447:in `_run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/accept_header_fix.rb:8:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/compressed_requests.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3989553028915443145__call__1125115695510271768__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/ip_spoof_protection.rb:10:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/logstash/middleware_catcher.rb:9:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:48:in `_call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/chunked.rb:43:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in `worker_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in `<top (required)>'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
Error: argument must respond to `call'
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rb-readline-0.4.2/lib/readline.rb:88:in `completion_proc='
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:48:in `completion_proc='
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:25:in `completion_proc='
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:596:in `block in readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:544:in `handle_read_errors'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:589:in `readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:369:in `retrieve_line'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:304:in `block in r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:271:in `re'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:251:in `rep'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:231:in `block (3 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `block (2 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `block in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_class.rb:154:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:205:in `run'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:316:in `remote_pry'
/var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb:45:in `fetch_ad'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:646:in `block in _run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3363'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:293:in `block in timeout_wrapper'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:292:in `timeout_wrapper'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3363'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:447:in `_run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/accept_header_fix.rb:8:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/compressed_requests.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3989553028915443145__call__1125115695510271768__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/ip_spoof_protection.rb:10:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/logstash/middleware_catcher.rb:9:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:48:in `_call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/chunked.rb:43:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in `worker_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in `<top (required)>'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
Error: argument must respond to `call'
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rb-readline-0.4.2/lib/readline.rb:88:in `completion_proc='
(druby://127.0.0.1:28179) /var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:48:in `completion_proc='
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
(druby://127.0.0.1:28179) /usr/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:25:in `completion_proc='
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:596:in `block in readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:544:in `handle_read_errors'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:589:in `readline'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:369:in `retrieve_line'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:304:in `block in r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:301:in `r'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:271:in `re'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:251:in `rep'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:231:in `block (3 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:230:in `block (2 levels) in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:229:in `block in repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `catch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_instance.rb:228:in `repl'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/pry-0.9.10/lib/pry/pry_class.rb:154:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:205:in `run'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bundler/gems/pry-remote-98be78964d0b/lib/pry-remote.rb:316:in `remote_pry'
/var/www/heyzap.com/releases/20131206194119/app/controllers/in_game_api/ads_controller.rb:45:in `fetch_ad'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:646:in `block in _run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3363'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:293:in `block in timeout_wrapper'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/www/heyzap.com/releases/20131206194119/app/controllers/application_controller.rb:292:in `timeout_wrapper'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3363'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:447:in `_run__2802049681818027671__process_action__4011286666210770048__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/accept_header_fix.rb:8:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/compressed_requests.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3989553028915443145__call__1125115695510271768__callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/middleware/ip_spoof_protection.rb:10:in `call'
/var/www/heyzap.com/releases/20131206194119/lib/logstash/middleware_catcher.rb:9:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:48:in `_call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lint.rb:36:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/chunked.rb:43:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:51:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-worker-killer-0.4.2/lib/unicorn/worker_killer.rb:124:in `process_client'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in `worker_loop'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in `start'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/gems/unicorn-4.5.0/bin/unicorn:121:in `<top (required)>'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
/var/www/heyzap.com/shared/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
FATAL: Pry failed to get user input using `#<struct PryRemote::InputProxy input=#<PryRemote::IOUndumpedProxy:0x00000001067ab0>>`.
To fix this you may be able to pass input and output file descriptors to pry directly. e.g.
Pry.config.input = STDIN
Pry.config.output = STDOUT
binding.pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment