Build of Jekyll site fails

For Workes & Pages, what is the name of the domain?

bhsharps.com

What is the error number?

No error number

What is the error message?

/opt/buildhome/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/lib/bundler/definition.rb:524:in `materialize’: Could not find ffi-1.17.0 in locally installed gems (Bundler::GemNotFound)

What is the issue or error you’re encountering

The build log says that it can’t find ffi-1.17.0, but the log has fetch and install entries for this gem.

What steps have you taken to resolve the issue?

I reset the BUNDLE_WITHOUT to “”, but that was not the problem. Otherwise, I don’t know how to troubleshoot this. How could my code cause Cloudflare to not locate a gem that it says it downloaded and installed? This site is running fine locally.

What are the steps to reproduce the issue?

Retry deployment.

Hey there,

Sorry to hear about the issue you are having deploying a Cloudflare pages site. Most likely the issue you are facing is related to the configuration options for the build are not correct for the framework you are using. If you are still having this issue, here are the configuration options we suggest for a default Jekyll build.

1 Like

Thank you for pointing me to the documentation, which unfortunately I didn’t find when searching for a solution. I suspect that the issue is due to my running a different version of ruby on my machine, which can be corrected with an environment variable, according to the docs. I’ve already moved on and I’m now using Vitepress, which is actually better suited to my project. Thank you again for your assistance.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.