Skip to content

Conversation

@mattbrictson
Copy link
Member

If the user has already added "public" to Capistrano's :linked_dirs, then further linking "public/assets" is not only unnecessary, it causes conflicts and asset precompilation fails as a result.

Fix this by checking if "public" is already linked, and if so, skip linking "public/assets".

Fixes #151.

@mattbrictson
Copy link
Member Author

@jboler can you test this branch and let me know if it solves the problem for you? Thanks!

If the user has already added "public" to Capistrano's `:linked_dirs`,
then further linking "public/assets" is not only unnecessary, it causes
conflicts and asset precompilation fails as a result.

Fix this by checking if "public" is already linked, and if so, skip
linking "public/assets".
@mattbrictson mattbrictson force-pushed the avoid-double-symlink-of-public branch from 009b20f to 3203981 Compare March 2, 2017 17:16
@jboler
Copy link

jboler commented Mar 4, 2017

@mattbrictson Yup - that works - thanks!

@mattbrictson
Copy link
Member Author

Thanks for testing! I'll merge it.

@mattbrictson mattbrictson merged commit 8334fcc into master Mar 4, 2017
@mattbrictson mattbrictson deleted the avoid-double-symlink-of-public branch July 12, 2020 23:18
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.

3 participants