Skip to content

Instantly share code, notes, and snippets.

@artofhuman
Created August 31, 2015 11:24
Show Gist options
  • Save artofhuman/f0489aaf8e216a180035 to your computer and use it in GitHub Desktop.
Save artofhuman/f0489aaf8e216a180035 to your computer and use it in GitHub Desktop.
Redis::CommandError: ERR unknown command 'namespace'
/home/pc/.gem/ruby/1.9/gems/redis-3.0.7/lib/redis/client.rb:97:in `call'
/home/pc/.gem/ruby/1.9/gems/newrelic-redis-1.4.0/lib/newrelic_redis/instrumentation.rb:41:in `block in call_with_newrelic_trace'
/home/pc/.gem/ruby/1.9/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/method_tracer.rb:73:in `block in trace_execution_scoped'
/home/pc/.gem/ruby/1.9/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'
/home/pc/.gem/ruby/1.9/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/method_tracer.rb:71:in `trace_execution_scoped'
/home/pc/.gem/ruby/1.9/gems/newrelic-redis-1.4.0/lib/newrelic_redis/instrumentation.rb:37:in `call_with_newrelic_trace'
/home/pc/.gem/ruby/1.9/gems/redis-3.0.7/lib/redis.rb:2432:in `block in method_missing'
/home/pc/.gem/ruby/1.9/gems/redis-3.0.7/lib/redis.rb:37:in `block in synchronize'
/home/pc/.gem/ruby/1.9/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize'
/home/pc/.gem/ruby/1.9/gems/redis-3.0.7/lib/redis.rb:2431:in `method_missing'
/home/pc/.gem/ruby/1.9/gems/redis_counters-dumpers-0.0.1/lib/redis_counters/dumpers/engine.rb:238:in `redis_session'
/home/pc/.gem/ruby/1.9/gems/redis_counters-dumpers-0.0.1/lib/redis_counters/dumpers/engine.rb:138:in `block in process!'
/home/pc/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/database_statements.rb:194:in `transaction'
/home/pc/.gem/ruby/1.9/gems/ar-octopus-0.7.0/lib/octopus/proxy.rb:205:in `transaction'
/home/pc/.gem/ruby/1.9/gems/redis_counters-dumpers-0.0.1/lib/redis_counters/dumpers/engine.rb:136:in `process!'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:44:in `block in dump'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:40:in `each'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:40:in `dump'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:28:in `block (2 levels) in save'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:27:in `each'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:27:in `block in save'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/models/apress/demands/statistics/counters/base_counter.rb:12:in `block in counters_pools'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/models/apress/demands/statistics/counters/base_counter.rb:11:in `each'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/models/apress/demands/statistics/counters/base_counter.rb:11:in `counters_pools'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:26:in `save'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/app/services/apress/demands/statistics/daily_save_service.rb:16:in `call'
/home/pc/.gem/ruby/1.9/bundler/gems/apress-demands-2457ff4046a1/lib/tasks/statistics.rake:7:in `block (4 levels) in <top (required)>'
(eval):3:in `execute_with_counter_flush'
/home/pc/.gem/ruby/1.9/gems/newrelic-rake-1.4.1/lib/newrelic-rake/instrument.rb:33:in `block in execute_with_newrelic_trace'
/home/pc/.gem/ruby/1.9/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:362:in `perform_action_with_newrelic_trace'
/home/pc/.gem/ruby/1.9/gems/newrelic-rake-1.4.1/lib/newrelic-rake/instrument.rb:32:in `execute_with_newrelic_trace'
/home/pc/.gem/ruby/1.9/gems/newrelic-rake-1.4.1/lib/newrelic-rake/instrument.rb:23:in `execute'
Tasks: TOP => apress:demands:statistics:daily
(See full trace by running task with --trace)
pc@k5701-pc3-script-t ~/current $ Redis::Namespce
-bash: Redis::Namespce: command not found
pc@k5701-pc3-script-t ~/current $ DEBUG=true bundle exec rake apress:demands:statistics:daily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment