What is the solution to the Shopify CLI theme dev error with racc package?

Topic summary

A user encountered an error with the racc Ruby package when running shopify theme dev. The error message indicated dependency resolution issues with the theme-check and nokogiri packages in the Gemfile.

Resolution:

  • The issue was resolved by uninstalling and reinstalling Ruby.
  • After the reinstallation, the Shopify CLI command worked successfully.
Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

Ok I uninstall and reinstall ruby and it’s good for me.