Long build times
It appears that every time I deploy its building ruby? I just migrated from github pages & builds there were only taking about 15s and they now take >5 min on cf pages. I have build caching enabled already.
Is there anything that I can do to speed these up?
pages.dev link: varun7654-github-io.pages.dev / dacubeking.com
account id: f5dbfc5cf299cd799bf49f258675f82b
10 Replies
ruby should be pre-installed, shouldn't neeed to reinstall each time and shouldn't take minutes regardless -- is the issue still happening?
I haven’t deployed in a few days, but I haven’t resolved it yet
here are the full logs I have: https://gist.github.com/varun7654/e3f0284928914c3470c6854380ef0f6c
Hmm it's detecting ruby in your environment
Do you have a .ruby-version file or RUBY_VERSION env var?
a .ruby-version file
GitHub
GitHub - varun7654/varun7654.github.io: My personal website!
My personal website! Contribute to varun7654/varun7654.github.io development by creating an account on GitHub.
yeah so makes sense it's installing ruby. Why it takes so long though, not sure.
is it possible that specific version isn’t pre compiled or something?
you could try 3.2.2 - https://developers.cloudflare.com/pages/configuration/build-image/#languages-and-runtime
I’ll give it a try later today!
looks like this worked