Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #12 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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