Commit 3203981
committed
Don't link public/assets if public is linked
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".1 parent 2232734 commit 3203981
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments