You need to edit that configuration to point to wherever your database is installed. The config is just an example.
On 14/11/2011, at 1:41 PM, ballica28 wrote: > ok i start a project from scratch with the command rails new > project_name -m http://datamapper.org/templates/rails.rb > my database file see like this > > defaults: &defaults > adapter: mysql > username: root > password: > host: localhost > > development: > database: rails3_app_development > <<: *defaults > test: > database: rails3_app_test > <<: *defaults > production: > database: rails3_app_production > <<: *defaults > > but when i type rake db:automigrate i become the ouput that the > rails3_app_development database not found. > I have no idea. Please Help me > > On 14 Nov., 01:44, MarkMT <[email protected]> wrote: >> I believe what you are looking for can be found >> here:https://github.com/datamapper/dm-rails >> >> On Nov 13, 5:38 pm, ballica28 <[email protected]> wrote: >> >> >> >> >> >> >> >>> Hello >>> I want create an rails 3 project with datamapper. What i must type in >>> the console (rails new project_name ??) >>> I have installed the gem files. > > -- > You received this message because you are subscribed to the Google Groups > "DataMapper" 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/datamapper?hl=en. > -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
