> is there a way to install dataobjects via thor as yet? the
> merb:stack:  seems to install dm-** without do- , which results in a
> stack that doesn't function, afai can tell...

This has been committed, but it's probably not merged in yet (if
you're running from edge/master). In 0.0.54 data_objects will be
installed for you, but you will have to install your specific do-
adapter yourself (see the wiki for that).

I agree with Michael though, since datamapper doesn't have to be tied
to a specific do- adapter. But data_objects is currently a dependency
of datamapper itself, so the stack install will provide this.

> also can you share some knowledge on the various messages thor seems
> to spit out? this may help others debugging.
> this is with thor 0.9.8 + 0.53 of the tasks.
>
> [EMAIL PROTECTED] setup]$ sudo thor merb:stack:install
> WARNING: unable to load thorfile "/home/dev1/svn/merbquest/trunk/tools/
> setup/merb.thor": Merb is not a class
>
> ^^ often comes up. I assume this relates to this code:
>
> class Merb < Thor
>   extend GemManagement

I'm quite sure you have an older merb.thor lurking in your global thor
tasks; the code you post isn't in in 0.0.53 anymore. I generally
recommend to keep merb.thor local, and not install it globally;
otherwise ant global and local versions will be merged, resulting in
conflicts.

>
> --------
> currently after running merb:stack:install, i get the following error:
>
> Successfully installed merb_datamapper-0.9.10
> /home/dev1/svn/merbquest/trunk/tools/setup/merb.thor:391:in
> `ensure_bin_wrapper_for': undefined method `ensure_bin_wrapper_for'
> for Merb:Module (NoMethodError)
>         from /home/dev1/.thor/c02d8585222f39baca81ba194054e892:929:in
> `install_dependencies'
>         from /home/dev1/.thor/c02d8585222f39baca81ba194054e892:1282:in

I think this is also from a conflict between global and local
merb.thor. If you look at the paths involved, you can see it
happening:

/home/dev1/svn/merbquest/trunk/tools/setup/merb.thor

vs.

/home/dev1/.thor/c02d8585222f39baca81ba194054e892

Good luck!

- Fabien


--~--~---------~--~----~------------~-------~--~----~
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