Skip to content

Comments

Fix for issue #12#16

Open
elik-ru wants to merge 2 commits intocapistrano-plugins:masterfrom
elik-ru:master
Open

Fix for issue #12#16
elik-ru wants to merge 2 commits intocapistrano-plugins:masterfrom
elik-ru:master

Conversation

@elik-ru
Copy link

@elik-ru elik-ru commented Dec 23, 2015

Possible fix for issue #12

add a line to deploy.rb :

set :faster_assets_skip_cp, true

and assets will not be copied

@rhomeister
Copy link
Contributor

Could you check whether #14 solves your problem? I've just merged this into master.

@elik-ru
Copy link
Author

elik-ru commented Dec 31, 2015

#14 is a bad decision.

  1. -T key exists only in Linux, not in FreeBSD, MacOS and may be some other systems
  2. There is no need to copy assets at all

capistrano/rails/asset gem adds assets folder in :linked_dirs. So public/assets in each release folder is a symlink to shared/public/assets. And 'copy -Tr' will copy each file inside assets into itself. It's just a waste of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants