Error coming from `bundle install`

Topic summary

Main issue: Running shopify theme dev --store {storename} fails during bundle install with exit code 5 and a Gem::Ext::BuildError (failed to build gem native extension).

Suggested troubleshooting: Run bundle install separately to view the full error output. Ensure required development tools are installed (examples given for Linux and macOS). Identify the specific gem failing to build and install its dependencies manually.

Environment provided by the user:

  • Shopify CLI: 3.64.1
  • Node.js: 22.4.1
  • Ruby: 3.0.6 p216
  • npm: 10.8.2
  • gem: 3.2.33

Open questions/next steps: The user asked for Windows 10–specific guidance; no Windows-specific steps were provided yet. The issue remains unresolved pending detailed error logs from running bundle install and guidance tailored to Windows.

Summarized with AI on December 24. AI used: gpt-5.

Hello,

I want to run command shopify theme dev --store {storename}, after running command it give me following error

Error coming from bundle install

Command failed with exit code 5: bundle install
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

It looks like there’s an issue with your gem installation. Try running bundle install separately to see the full error message. It might be related to missing dependencies or libraries on your system.

Make sure you have the necessary development tools installed, like build-essential on Linux or Xcode on macOS. If the problem persists, consider checking the specific gem that’s failing to build and install its dependencies manually

How can i do this in windows 10 any tips?

shopify cli version 3.64.1
Node js version 22.4.1
ruby version 3.0.6p216
npm version 10.8.2
gem version 3.2.33

These are my installation