Leon
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:
10:41:47.276 Executing user command: jekyll build
10:41:47.671 No preset version installed for command jekyll
10:41:47.671 Please install a version by running one of the following:
10:41:47.671
10:41:47.671 asdf install ruby 2.6.2
10:41:47.672
10:41:47.672 or add one of the following versions in your config file at /opt/buildhome/.tool-versions
10:41:47.681 ruby 3.2.2
10:41:47.683 Failed: Error while executing user command. Exited with error code: 126
10:41:47.695 Failed: build command exited with code: 1
10:41:48.672 Failed: error occurred while running build command
10:41:47.276 Executing user command: jekyll build
10:41:47.671 No preset version installed for command jekyll
10:41:47.671 Please install a version by running one of the following:
10:41:47.671
10:41:47.671 asdf install ruby 2.6.2
10:41:47.672
10:41:47.672 or add one of the following versions in your config file at /opt/buildhome/.tool-versions
10:41:47.681 ruby 3.2.2
10:41:47.683 Failed: Error while executing user command. Exited with error code: 126
10:41:47.695 Failed: build command exited with code: 1
10:41:48.672 Failed: error occurred while running build command
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?
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