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

Code Projects, Experiments, Merb, Ruby — Tags: , — Ardekantur @ 11:45 pm
$ 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.

1 Comment »

  1. it works. just tried it myself.

    Comment by name — January 4, 2008 @ 10:05 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2008 Ardekantur | powered by WordPress with Barecity