Welcome! I'm beginner Merbist with no experience in Ruby, so maybe my problem is trivial.
I created model and now I want to create migrations, so I type: flyweightcomp:test sognat$ rake db:migrate and the result is.. (in /Users/sognat/Desktop/test) Loading init file from /Users/sognat/Desktop/test/config/init.rb Loading /Users/sognat/Desktop/test/config/environments/development.rb Loading init file from /Users/sognat/Desktop/test/config/init.rb Loading /Users/sognat/Desktop/test/config/environments/rake.rb ~ Connecting to database... ~ Loaded slice 'MerbAuthSlicePassword' ... ~ Parent pid: 54395 ~ Could not load /Users/sognat/Desktop/test/app/models/test.rb: uninitialized constant DataMapper::Base - (NameError) /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2465:in `const_missing' /Users/sognat/Desktop/test/app/models/test.rb:1 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' /Library/Ruby/Gems/1.8/gems/merb-core-1.0.1/lib/merb-core/ bootloader.rb:843:in `load_file' ... (stack trace) ... /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 ~ ~ FATAL: /Users/sognat/Desktop/test/app/models/test.rb failed to load. ~ What I should to do to fix this problem? merb version: 1.0.1 datamapper version: 0.9.7 init.rb: ... use_orm :datamapper ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
