This should be fixed in 0.9.7, please update your gems.
Addressable 2.0 was incompatible with DM, causing this issue.

On Nov 18, 9:54 am, "Dj [EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I try to use DataMapper for a little project but a get an error I
> couldn't resolve myself.
> Here what I try in an irb session :
>
> >> require "dm-core"
> => true
> >> DataMapper.setup(:default, "sqlite3://#{Dir.pwd}.test.sqlite3")
>
> NoMethodError: undefined method `specified_port' for
> #<Addressable::URI:0x16fb5d4>
>         from /Library/Ruby/Gems/1.8/gems/data_objects-0.9.6/lib/
> data_objects/uri.rb:10:in `parse'
>         from /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core.rb:
> 137:in `setup'
>         from (irb):2
>
>
>
> I don't undersand what it means and how i could resolve this problem.
> I've installed all required gems (extlib, data_objects, do_sqlite3, dm-
> core)
>
> Thanks
>
> --
> Guillaume
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to