merb1.1pre + bundler + dm-migration

0 views
Skip to first unread message

casret

unread,
Dec 9, 2009, 7:51:10 PM12/9/09
to me...@googlegroups.com
I can't seem to get this to work:

1) merb-gen a new app
2) gem bundle in the app
3) Create a migration (I use the one from the dm-migration example)
migration 1, :test  do
  up do
     create_table :people do
       column :id,   Integer, :serial => true
       column :name, String, :size => 50
       column :age,  Integer
     end
  end
  down do
    drop_table :people
  end
end

4) bin/rake db:migrate --trace
(relevant parts)

 == Performing Up Migration #1: test
rake aborted!
can't convert nil into Hash
/home/giao/git/giao/click_wrap/tmp/jmup/gems/gems/dm-migrations-0.10.1/lib/dm-migrations/sql/table_creator.rb:80:in `update'


I tried poking around in it, but it seems like the datamapper types aren't being required in or something.
Reply all
Reply to author
Forward
0 new messages