In your development.rb, add: config.after_initialize do EnginesHelper.autoload_assets = false end
On Wed, Oct 7, 2009 at 3:07 PM, SS <[email protected]> wrote: > > Hello, > Every time I start my WEBrick server the public/plugin_assets > directory gets created for me and causes 'Permission denied" error > message, which forces me to delete the folder every time I restart my > server in order to run CE. I found a way around that. > > However, now when I try to recreate my fixtures by running "rake > community_engine:db:fixtures:load" I cannot successfully recreate > them: > > sudo>rake community_engine:db:fixtures:load > (in /MY_PROJECT_HOME.../) > > rake aborted! > > Permission denied - MY_PROJECT_HOME/public/plugin_assets/ > community_engine/./images/icons/.sv > n/entries > > I can't understand why the first time I run all the migrations and > fixtures they worked well, and now after I dropped and recreated my > database, and re-run the migrations I can't run the fixtures? > > Does anyone know how to turn the creation of this plugin_assets folder > if it has been already created, so that I don't get 'Permission > denied' message? > Thanks, > SS > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
