Okay, it turns out I wanted to do something like test: :database: db/vodswap_test.db
But I'm still having an issue. RubyGem version error: dm-migrations(0.9.8 not = 0.9.6) Nowhere do I set the version to be 0.9.8 OR 0.9.6 (in fact, i explicitly say that it's 0.9.9), so I'm trying to figure out how on earth this error makes sense. My version is 0.9.9, so I'm not really sure where it's getting either set of numbers. If I set the version to 0.9.8 it gives me the exact same error, and if I set the version to 0.9.6 it says that I'm missing the gems. So where else could it be setting the version to expect 0.9.6? -Jenny On Jan 6, 9:26 am, Jenny <[email protected]> wrote: > I was having some issues with Datamapper trying to find a file called > _adapter, which didn't exist. > > This post: > http://groups.google.com/group/datamapper/browse_thread/thread/d3d21f... > led me in the right direction, mentioning a difference in syntax that > should take care of the problem (:adapter: syntax instead of adapter:) > > However, now my code has new an exciting errors: > > --- > # This is a sample database file for the DataMapper ORM > :development: &defaults > # These are the settings for repository :default > :adapter: sqlite3 > :database: db/vodswap_development.db > > :test: > > :database: db/vodswap_test.db > > :production: > :database: db/vodswap_production.db > > --- > > the above code produces the following error when I try to rake > dm:migrate > > rake aborted! > +uri_or_options+ should be Addressable::URI or Hash or String, but was > NilClass > > This one seems absolutely nonsensical to me...which probably means I'm > doing something nonsensical ^_^;; Any insight would be appreciated. > -Jenny --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
