Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe Update Github Actions to shopify/theme-check-action@v2 to Fix theme-check issue? #3701

Closed
Jyrko opened this issue Jan 14, 2025 · 1 comment

Comments

@Jyrko
Copy link

Jyrko commented Jan 14, 2025

Describe the current behavior

When running Github Actions CI/CD with older version of theme-check-action. In this case v1, I encountered the following error.

ERROR:  Error installing theme-check:
	ERROR: Failed to build gem native extension.

    current directory: /usr/lib/ruby/gems/3.0.0/gems/strscan-3.1.2/ext/strscan
/usr/bin/ruby -I /usr/lib/ruby/3.0.0 -r ./siteconf20250113-8-jcchfo.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.

Describe the expected behavior

Version information (Dawn, browsers and operating systems)

  • Dawn Version: 15.2.0
  • macOS Version 15.2

Possible solution

Update in CI/CD shopify/theme-check-action@v1 to shopify/theme-check-action@v2 in order to fix the issue.

Additional context/screenshots

Also, I have started to encounter this issue in my custom themes using older version of shopify/theme-check-action, so, I guess, it is a global problem.

Image

@graygilmore
Copy link
Contributor

Dupe of #3236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants