"No wrangler.toml found."
I never had this issue before? And we've been working with Pages for years now lol.
- deployment ID (which is actually failing now, for some reason too):
be6324d8-bd03-474d-8388-e50006fb7e0e
15 Replies
For some additional context, this is on one of our oldest projects, which (unfortunately) still use Jekyll and not Astro.
But you can see the root directory is
/
, which is where wrangler.toml is at.Hey, I've just escalated your issue. A support engineer will look into it when they're available
was this ever working with your wrangler.toml?
your last success also did not have a wrangler.toml but succeeded
looks like the ruby version you're trying to use changed which caused the failure - not related to wrangler.toml
I changed to build v2 and now it detects automatically...
I wasn't even aware of this "v2" and it was announced last year already!
And I'm super stoked the env includes bun ! Much faster builds than using
npm
😅yes yes I realized that, which is why I changed it to 2.7.1... that's how I found out about the v2 build environment.
Doing one last (hopefully) push/deployment... let's see how it goes... it usually takes ~10m to build... hopefully now it'll go down to ~5-6...
Well sh1t...
deployment
2a6edeea-101b-45d8-be3a-ba66db216dca
failed.
Last time this happened because of the RUBY_VERSION
being 2.7.5 instead of 2.7.1... but even though it's now set to 2.7.1 ... it still doesn't work.
hmm I think I found the issue... 'liquid' version needs to be forced to 4.0.4 when using ruby 2.7.1... and apparently there's no fix (at least a few months ago when I ran into this).
Triggered a redeployment now with the forced version... edit: didn't work.I can't even rollback 😭 (redeploy an older (working) version)
Clearly something's broken with the 'v2' build system.
72a6c5f9-e828-47bd-ac19-bf7d6967f718
this deployed successfully, already using ruby 2.7.1, liquid 4.0.4 :shrugg:
I'm temporarily moving back to v1 so I can make this deployment... but I'll change it back to v2 afterwards, and I'd like to get it to work.
Any ideas are welcome... wrangler.toml is still not found in v1, and when I upgrade to v2 it doesn't work, despite having forced specific (working) ruby versions, etc.wrangler.toml isn't supported in v1
Ha! Didn't expect that lol
Well, let's focus on getting v2 to work then 😬
what's the latest deploy id for v2?
https://dash.cloudflare.com/b49cf04faa95acedabf98a027abb56cf/pages/view/client-caoba-hotels/acd423bf-93ad-4ada-b2f0-17d4622e2f8a
acd423bf-93ad-4ada-b2f0-17d4622e2f8a
- here's the ID; but I left the URL in case you want to check the account too 👍
have you tried 3.3.22?
I don't define the 3.1.6 version anywhere.
you must do somewhere, default is 3.2.2
https://developers.cloudflare.com/pages/configuration/language-support-and-tools/#v2-build-system
Here's the
Gemfile
😅
the 'webrick' and 'liquid' were ones I added today, to try and fix it.
I remember I had to force liquid to be 4.0.4 for another jekyll project also deployed to pages.
I found this support article you also replied to @walshydev
: https://community.cloudflare.com/t/deployment-failing-rubygems-version/446483
But as you can see, we already tried the sass-converter change 😂