Skip to content

undefined method `register_store' for MemoryTracker::Stores::GcstatLogfileStore #2

Description

@nimashariatian

i am running on rails 4.2.3 and ruby 2.2.2
as soon as i include the gem in my file and start the server i get the following::
/opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.3/lib/active_record/dynamic_matchers.rb:26:in method_missing': undefined methodregister_store' for MemoryTracker::Stores::GcstatLogfileStore(Table doesn't exist):Class (NoMethodError)

full backtrace:

/opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.3/lib/active_record/dynamic_matchers.rb:26:in method_missing': undefined methodregister_store' for MemoryTracker::Stores::GcstatLogfileStore(Table doesn't exist):Class (NoMethodError)
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/gcstat_logfile_store.rb:4:in <class:GcstatLogfileStore>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/gcstat_logfile_store.rb:3:inmodule:Stores'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/gcstat_logfile_store.rb:2:in <module:MemoryTracker>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/gcstat_logfile_store.rb:1:in<top (required)>'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in require' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:inblock in require'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:238:in block in load_dependency' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:647:innew_constants_in'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:238:in load_dependency' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:inrequire'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/loader.rb:28:in block in <top (required)>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/loader.rb:28:ineach'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/stores/loader.rb:28:in <top (required)>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:457:inload'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:457:in block in load_file' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:647:innew_constants_in'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:456:in load_file' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:354:inrequire_or_load'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:494:in load_missing_constant' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:184:inconst_missing'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/engine.rb:37:in block (2 levels) in <class:Engine>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/engine.rb:36:ineach'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/memory_tracker-1.3.0/lib/memory_tracker/engine.rb:36:in block in <class:Engine>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:ininstance_exec'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:30:in run' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:55:inblock in run_initializers'
from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:226:in block in tsort_each' from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:348:inblock (2 levels) in each_strongly_connected_component'
from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:429:in each_strongly_connected_component_from' from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:347:inblock in each_strongly_connected_component'
from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:345:in each' from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:345:incall'
from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:345:in each_strongly_connected_component' from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:224:intsort_each'
from /opt/rubies/2.2.2/lib/ruby/2.2.0/tsort.rb:203:in tsort_each' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/initializable.rb:54:inrun_initializers'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:352:in initialize!' from /Users/nima/Sites/work/darwineco/streams-api/config/environment.rb:5:in<top (required)>'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in require' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:inblock in require'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in load_dependency' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:inrequire'
from /Users/nima/Sites/work/darwineco/streams-api/config.ru:3:in block in <main>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:ininstance_eval'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in initialize' from /Users/nima/Sites/work/darwineco/streams-api/config.ru:innew'
from /Users/nima/Sites/work/darwineco/streams-api/config.ru:in <main>' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:ineval'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in new_from_string' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:inparse_file'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in build_app_and_options_from_config' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:inapp'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:61:in app' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:inwrapped_app'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:139:in log_to_stdout' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/server.rb:78:instart'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:80:in block in server' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:intap'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in server' from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:inrun_command!'
from /opt/rubies/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in <top (required)>' from ./bin/rails:4:inrequire'
from ./bin/rails:4:in `

'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions