I solved the problem. Here is the snippet written by Guillaume Maury
(giom).

dependency 'merb-cache', merb_gems_version do
  Merb::Cache.setup do
    unless defined? CACHE_SETUP
      register(:twitter_fragment_store, Merb::Cache::FileStore, :dir
=> Merb.root / 'cache' / 'fragments')
      register(:twitter_page_store, Merb::Cache::PageStore
[Merb::Cache::FileStore], :dir => Merb.root / 'public' / 'page_cache')
      register(:default, Merb::Cache::AdhocStore
[:twitter_page_store, :twitter_fragment_store])
   end
   CACHE_SETUP = true
  end
end

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