userstamp
userstamp copied to clipboard
Issue with dynamic_matchers after gem install.
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 method
class_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:in
class_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:in
include'
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:in
require'
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:in
load_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:in
block (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:in
block 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:in
require'
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
Also having this issue.
Rails 3.2
GEMFILE gem 'userstamp', :git => "git://github.com/delynn/userstamp.git"