Hi,

Seems to me that you have merb.thor installed globally (through Thor
itself) and locally within the app (which is what we recommend). The
warnings you see indicate that merb.thor is loaded twice, which can
happen in this case.

The second issue you describe is indeed a valid one: config/
dependencies.rb specifies exact version numbers instead of
conditionals (>= 0.9.9 for example) I just found this out myself too.
Basicly with the app being generate with fixed dependency numbers, and
'edge' moving along all the time, the version mismatch seems to be
inevitable. This is why it says the dependency wasn't found. Removing
or adapting the version numbers in config/dependencies.rb fixes this
(I tried).

Since we believe 'edge' install is mostly for advanced users, we think
people should cahnge the version requirements conciously. Though feel
free to leave a ticket in lighthouse if you feel this needs to change.

Good luck!

- Fabien

On Oct 16, 4:56 am, cilquirm <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Been grappling with the new merb.thor, and I've come across some
> problems...
>
> I installed minigems, and then tried to install the merb stack. the
> following happens
>
> aadi-mbp2:web-app-latest aadid$ thor merb:stack:install --edge
> /Users/aadid/Sites/web-app-latest/merb.thor:8: warning: already
> initialized constant MERB_THOR_VERSION
> /Users/aadid/Sites/web-app-latest/merb.thor:1123: warning: already
> initialized constant DM_STACK
> /Users/aadid/Sites/web-app-latest/merb.thor:1136: warning: already
> initialized constant MERB_STACK
> /Users/aadid/Sites/web-app-latest/merb.thor:1146: warning: already
> initialized constant MERB_BASICS
> /Users/aadid/Sites/web-app-latest/merb.thor:1167: warning: already
> initialized constant MERB_MORE
> /Users/aadid/Sites/web-app-latest/merb.thor:1179: warning: already
> initialized constant MERB_PLUGINS
> /Users/aadid/Sites/web-app-latest/merb.thor:1209: warning: already
> initialized constant DM_MORE
> ..
> ..
> ..
> Writing executable wrapper /Users/aadid/Sites/web-app-latest/bin/merb
> Writing executable wrapper /Users/aadid/Sites/web-app-latest/bin/slice
> aadi-mbp2:web-app-latest aadid$ bin/merb
> Loading init file from /Users/aadid/Sites/web-app-latest/config/
> init.rb
> Loading /Users/aadid/Sites/web-app-latest/config/environments/
> development.rb
>  ~ Loaded DEVELOPMENT Environment...
>  ~
>  ~ FATAL: The file merb-mailer was not found
>  ~
>
> this doesn't happen when i just run merb directly
>
> Also, in the old merb.thor tasks, it was pretty straightforward how
> you install additional dependencies that go beyond the stack ( for
> example the dataobjects adapters for datamapper, or something like
> html5 lib ).  Is that once again going to be possible?
>
> Thanks for any assistance you can provide.
>
> -a
--~--~---------~--~----~------------~-------~--~----~
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