2008/10/23 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> We need Merb to be handling the static resources rather than the web
> server. When I use
> Merb::Config.setup(:merb_root => "#{$appRoot}/public"), Merb doesn't
> compile any routes, and when I use
> Merb::Config.setup(:merb_root => "#{$appRoot}"), Merb doesn't find
> static content.

If you use regular application layout you should not bother setting
Merb.root manually.
Check you rackup file (config/rack.rb) or remove it to use default one
that assumes static assets are
served from public.
-- 
MK

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