I talked with the DM guys tonight and are aware of the issue, it should be
resolved shortly, in the meantime, make sure not to install addressable 2.0
:(

Sorry about that.

-Matt

On Sun, Nov 16, 2008 at 1:33 AM, Jacques Crocker <[EMAIL PROTECTED]> wrote:

>
> Ok, here's the line that breaks things:
> return DataObjects::URI.parse(Addressable::URI.new(adapter, user,
> password, host, port, database, query, nil))
>
> Looks like I accidently upgraded to Addressable Gem 2.0, which breaks
> Datamapper 1.0.4
>
> Uninstalling Addressable 2.0 (going back to 1.0.4) fixes things. I'll
> email the datamapper list about this issue.
>
>
> On Nov 15, 10:27 pm, Jacques Crocker <[EMAIL PROTECTED]> wrote:
> > Well.. that didnt take me long. I seem to have corrupted my merb
> > installation. Even with a brand new project, things completely break.
> >
> > /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)
> >
> > Tried uninstalling the gem and reinstalling the gem.
> >
> > Here's the full stack trace, from a completely freshly generated app
> >
> > [EMAIL PROTECTED] ~/Merb]# merb-gen app testmerb
> > [EMAIL PROTECTED] ~/Merb]# cd testmerb
> > [EMAIL PROTECTED] ~/Merb/testmerb]# merb
> > Loading init file from /Users/jc/Merb/testmerb/config/init.rb
> > Loading /Users/jc/Merb/testmerb/config/environments/development.rb
> >  ~ Connecting to database...
> > /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)
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/
> > data_objects_adapter.rb:137:in `new'
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/
> > data_objects_adapter.rb:137:in `normalize_uri'
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/
> > abstract_adapter.rb:44:in `initialize'
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core/adapters/
> > data_objects_adapter.rb:159:in `initialize'
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core.rb:157:in
> > `new'
> >         from
> /Library/Ruby/Gems/1.8/gems/dm-core-0.9.6/lib/dm-core.rb:157:in
> > `setup'
> >         from
> /Library/Ruby/Gems/1.8/gems/merb_datamapper-1.0/lib/merb/orms/
> > data_mapper/connection.rb:44:in `setup_connections'
> >         from
> /Library/Ruby/Gems/1.8/gems/merb_datamapper-1.0/lib/merb/orms/
> > data_mapper/connection.rb:27:in `connect'
> >         from /Library/Ruby/Gems/1.8/gems/merb_datamapper-1.0/lib/
> > merb_datamapper.rb:17:in `run'
> >         from /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/
> > bootloader.rb:99:in `run'
> >         from /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/
> > server.rb:172:in `bootup'
> >         from /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/
> > server.rb:42:in `start'
> >         from /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core.rb:
> > 169:in `start'
> >         from /Library/Ruby/Gems/1.8/gems/merb-core-1.0/bin/merb:11
> >         from /usr/bin/merb:19:in `load'
> >         from /usr/bin/merb:19
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to