Leon
CDCloudflare Developers
•Created by Leon on 10/23/2023 in #pages-help
How to use specific bundler version in V2?
Now 1m10s when using v2 with ruby 2.7.8, and the bundler hack is not needed either. You should mention on Language support and tools that 2.7.8 is preinstalled
8 replies
CDCloudflare Developers
•Created by Leon on 10/23/2023 in #pages-help
How to use specific bundler version in V2?
Performance with V2 is quite a lot worse than V1. For this site, V1 builds in 1m34s, and V2 5m50s. Now I realise that build caching doesn't yet support Jekyll. Whoops!
8 replies
CDCloudflare Developers
•Created by Leon on 10/23/2023 in #pages-help
How to use specific bundler version in V2?
@JohnDotAwesome To be honest I'm not super familiar with the ecosystem either - we are only using it for a couple of sites with jekyll. I can say that our repo build instructions don't include anything special for setting the bundler version, so I assume it's normally picked up automatically.
The
UNSTABLE_PRE_BUILD
suggestion did indeed get the bundler working.
Though, then a new problem:
I tried a couple of solutions without success:
1. Add asdf install ruby 2.6.2 &&
to UNSTABLE_PRE_BUILD
2. Add .tool-versions
file to the repo
But what did get it working was changing the build command from jekyll build
to bundle exec jekyll build
8 replies
CDCloudflare Developers
•Created by Leon on 4/12/2023 in #pages-help
Has the temp directory location changed in the past week?
@johndotawesome here you go https://github.com/leonatherton/cf-pages-issue
10 replies
CDCloudflare Developers
•Created by Leon on 4/12/2023 in #pages-help
Has the temp directory location changed in the past week?
Shouldn't be an issue, I'll pencil it in for tomorrow
10 replies
CDCloudflare Developers
•Created by Leon on 4/12/2023 in #pages-help
Has the temp directory location changed in the past week?
that's correct
10 replies
CDCloudflare Developers
•Created by Leon on 4/12/2023 in #pages-help
Has the temp directory location changed in the past week?
more of a workaround - I added
'jekyll-remote-theme*'
to the excludes in _config.yml
10 replies