Yeah, I've run into this when using SVN too (stupid SVN litters your
directories with .svn folders). Here's something I got from another CE user
via GitHub:

Hi, I'm getting this error since I checked in my project into svn. Maybe the
problem lies in rails_asset_extensions.rb in the line
"FileUtils.cp_r(asset_path,
"#{RAILS_ROOT}/public/#{EnginesHelper.plugin_assets_directory}/#{plugin}/.",
:preserve => true)". I think CE is trying to copy the .svn-folders along
with the plugin-assets into the public-folder of the app(?) and fails with
"Permission denied". Maybe it would work if the Line excludes svn-specific
folders?

(Setting self.autoload_assets = false can fix the problem for the moment.)

adding a :verbose => true to FileUtils.cp_r gives:
cp -rp
/Users/username/languageschool/vendor/plugins/community_engine/public/charts
/Users/username/languageschool/public/plugin_assets/community_engine/.


The problem is in rails_asset_extensions.rb, where we copy files from CE's
public folder into the app directory. I'm sure there's a way to make
FileUtils.cp_r skip dotfiles (.svn), but haven't had a chance to look into
it yet. Please let me know if you're able to figure out a fix.

Thanks,
Bruno

On Thu, Aug 20, 2009 at 9:28 PM, Levi Rosol <[email protected]> wrote:

> I'm getting my codebase back into SVN and am having an issue with the .SVN
> folders getting moved over into the public folder. I assume desert is doing
> this, but i cannot find where i would make a change to prevent this from
> happening.
>
> Any suggestions?
>
> thx!
>
> --
> Levi Rosol
> Twitter: @LeviRosol
>
>
> >
>

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

Reply via email to