It was indeed the indent. I spotted that also, and your message confirmed it.
Thanks. On Dec 27, 1:17 pm, Alex Coles <alex.co...@gmail.com> wrote: > On 25.12.2011, at 21:09, Neil Chaudhuri wrote: > > > > > > > > > > > Here is my database.yml also: > > > defaults: &defaults > > adapter: sqlite > > > development: > > database: db/myapp_development.db > > <<: *defaults > > > test: > > adapter: postgresql > > database: myapp_test > > pool: 5 > > username: admin > > password: pwd > > host: localhost > > port: 5432 > > > production: > > database: db/myapp_production.db > > <<: *defaults > > > I tried changing the adapter value, but that didn't change anything. > > > Thanks. > > Since this is related to your original issue, please continue the same thread! > > Also, please follow the original request to post this as a gist > (https://gist.github.com/) or a pastie. Formatting can easily get lost in > emails and in this particular case, whitespace is significant. > > This looks wrong: > > > defaults: &defaults > > adapter: sqlite > > Did you mean to un-indent the second line? It should read: > > > defaults: &defaults > > adapter: sqlite > > I'd also your take a list at your commit log between when you added Jammit – > to see if you accidentally touched or modified other files! A good diff tool > is your friend. You can always diff between the newly-generated Rails > 3/DataMapper application and your current application code. > > Cheers, > > Alex. -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamapper@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.