merb datamapper似乎被打破了。
$ merb
Loading init file from /home/kristian/workspace/ruby/nightly/config/init.rb
Loading /home/kristian/workspace/ruby/nightly/config/environments/development.rb
:size option is deprecated, use String with :length instead (/usr/lib/ruby/gems/1.8/gems/merb_datamapper-1.0.12/lib/merb/session/data_mapper_session.rb:10)
~ Connecting to database...
~ Loaded slice 'MerbAuthSlicePassword' ...
~ Parent pid: 5790
/usr/lib/ruby/gems/1.8/gems/merb_datamapper-1.0.12/lib/merb_datamapper.rb:61:in `run': undefined method `merge' for #<DataMapper::Model::DescendantSet:0xb6f9bd14> (NoMethodError)
任何人都知道如何解决这个问题?
我刚刚卸载了merb并再次安装了它,但我仍然收到此错误。
答案 0 :(得分:0)
尝试升级到几天前刚刚发布的Merb 1.0.15。它增加了对新DataMapper系列的支持并解决了这个特定问题。
我相信宝石现在在gemcutter上,所以你应该按照这些安装说明进行操作: