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.
When trying to set up the
Web
repo, I've ran into so many weird problems.Problem 1
The new
Docker Compose V2
(enabled by default now) changes the layout of thedocker-compose.yml
thus creating breaking issues.Solution (Problem 1)
The fix for now is that I have
disabled
theDocker Compose V2
and I've also added it to theREADME.md
to reflected these changes.Problem 2
The
gem therubyracer
was not supported in the latest ruby version that is shipped with the latest official jekyll docker image.Solution
In the end after talking / troubleshooting with Daniel. He suggest to just remove
gem therubyracer
.Problem 3
I kept getting weird problems that I wasn't able to figure out with something relating to
Builder
honestly I have no clue..Solution
When pulling the web repo it gets the latest docker image and I had weird issues with it. So I ended up with downgrading to a older version of the official jekyll docker image
4.2.2
to fix these problems.Problem 4
Weird chown permissions when wanting to change files. This is a known issue in the latest docker-desktop-mac docker/for-mac#6467
Solution
you will need to run this
rm -rf _site .sass-cache .jekyll-metadata .jekyll-cache
beforedocker-compose up
every time.