0

merb 数据映射器似乎坏了。

$ 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 并再次安装了它,但我仍然收到此错误。

4

1 回答 1

0

尝试升级到几天前刚刚发布的 Merb 1.0.15。它增加了对新 DataMapper 系列的支持并解决了这个特定问题。

我相信 gems 现在在 gemcutter 上,所以你应该遵循这些安装说明:

http://wiki.github.com/merb/merb/howto-install

于 2009-11-08T23:30:41.087 回答