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.
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