Capistrano: fix up installed gem permissions after deployment.#134
Merged
Capistrano: fix up installed gem permissions after deployment.#134
Conversation
4374d11 to
0273e97
Compare
Capistrano: identify errors when installing out-of-bundle gems.
0273e97 to
63d5620
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Capistrano: fix up installed gem permissions after deployment.
This fixes permissions in the
shared/bundle/directory after deployment, to make it writeable by all deployers. We already set group permissions correctly in thebundledirectory, but some gem installs ignore these permissions, so we need to fix them up. (I think they build files in$TMPDIR, and then move them across with the wrong group / user.) This is not immediately obvious as a problem, but sometimes makes it impossible for a single deployer to remove the installed gems for old ruby versions.Capistrano: identify errors when installing out-of-bundle gems.