Errors I Got In Merb Within 10 Minutes Of Starting To Use It

$ rake
(in /home/.../Documents/Projects/Merb/Blog)
Connecting to database...
Fri, 04 Jan 2008 05:43:52 GMT: loading gem 'merb_datamapper' from config/dependencies.rb:13 ...
rake aborted!
Don't know how to build task 'default'

And…

$ rake dm:db:automigrate
(in /home/.../Documents/Projects/Merb/Blog)
Connecting to database...
Fri, 04 Jan 2008 05:44:33 GMT: loading gem 'merb_datamapper' from config/dependencies.rb:13 ...
Started merb_init.rb ...
Loading Application...
Compiling routes..
Loaded DEVELOPMENT Environment...
rake aborted!
Your query failed.
Incorrect table name 'data_mapper/bases'
CREATE TABLE `data_mapper/bases` (`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT)

And based on the almost no documentation and out of date tutorials I’ve found, there’s nothing that could even remotely explain what is going on here.

EDIT: The second problem appears to be noticed here. Don’t know if the recommended course of action actually works yet.

One Comment

  1. name posted January 4, 2008, 10:05 pm

    it works. just tried it myself.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*