Hi Jaques, This is now fixed on github:
DataMapper: http://github.com/sam/dm-core/commit/3e1142823bb26f497c1e91d18af12162c43e4e94 DataObjects: http://github.com/sam/do/commit/f48ff5abd6b38cbacb8467ccf9ba06838d1bfdd4 You'll need to update both DO and DM to the latest edge versions in git to take advantage of the fix. Install DO prior to DM, and run "rake specs" to verify it works on your side. Unfortunately I can't push a gem to rubyforge though because I don't have access, and I don't know the gem push process (hopefully it's just a rake task, but I'm unsure). I've contacted Sam Smoot and Adam French via email (both of them can push a new gem), but if anyone else knows another way to contact them please let me know here or in IRC (dkubb on freenode.net) Thanks, Dan (dkubb) On Nov 15, 10:36 pm, Jacques Crocker <[EMAIL PROTECTED]> wrote: > Hi. It looks like the newest version of Addressable (v2.0.0) breaks > Datamapper > > Here's the exception: > /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/ > data_objects_adapter.rb:137:in `initialize': wrong number of > arguments > (8 for 1) (ArgumentError) > > Here's the line > DataObjects::URI.parse(Addressable::URI.new(adapter, user, > password, host, port, database, query, nil)) > > Looks like Addressable changed their constructor to only take one > argument instead of 8. > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
