Skip to content

Issue with dynamic_matchers after gem install. #20

@panSarin

Description

@panSarin

so i added userstamp to Gemfile, run bundler and then when i try to
rails g migration somename
i get:
/home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:50:in method_missing': undefined methodclass_inheritable_accessor' for ActiveRecord::Base:Class (NoMethodError)
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/stampable.rb:29:in block in included' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/stampable.rb:25:inclass_eval'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/stampable.rb:25:in included' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/stampable.rb:154:ininclude'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/stampable.rb:154:in <top (required)>' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:inrequire'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in block in require' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:inload_dependency'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/userstamp-2.0.1/lib/userstamp.rb:2:in<top (required)>'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in require' from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:inblock (2 levels) in require'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in each' from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:inblock in require'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in each' from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:inrequire'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/bundler.rb:128:in require' from /home/sarin/projects/nau-pomocniczy/config/application.rb:13:in<top (required)>'
from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/commands.rb:24:in require' from /home/sarin/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/commands.rb:24:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in

'

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