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

CI failure: "`require': cannot load such file -- lru_redux (LoadError)" #1885

Open
wwohlers opened this issue Jan 13, 2025 · 3 comments
Open

Comments

@wwohlers
Copy link

Ubuntu 24.04.1
Ruby v3.0
Liquid 5.6.1

Since the latest release (30 min ago), we just started receiving the following error in Github Actions CI when deploying a theme extension by running the command shopify app deploy:

bundler: failed to load command: theme-check (/home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/bin/theme-check)
/home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/liquid-5.6.1/lib/liquid/context.rb:3:in `require': cannot load such file -- lru_redux (LoadError)
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/liquid-5.6.1/lib/liquid/context.rb:3:in `<top (required)>'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/liquid-5.6.1/lib/liquid.rb:74:in `require'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/liquid-5.6.1/lib/liquid.rb:74:in `<top (required)>'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/theme-check-1.15.0/lib/theme_check.rb:2:in `require'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/theme-check-1.15.0/lib/theme_check.rb:2:in `<top (required)>'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/theme-check-1.15.0/exe/theme-check:4:in `require'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/gems/theme-check-1.15.0/exe/theme-check:4:in `<top (required)>'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/bin/theme-check:25:in `load'
	from /home/runner/.cache/shopify-gems-nodejs/ruby/3.0.0/bin/theme-check:25:in `<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `load'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli/exec.rb:23:in `run'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli.rb:[45](https://github.com/Alia-Software/alia-shopify/actions/runs/12755138452/job/35551311585#step:10:46)6:in `exec'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli.rb:35:in `dispatch'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/cli.rb:29:in `start'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/exe/bundle:28:in `block in <top (required)>'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.23/exe/bundle:20:in `<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle:23:in `load'
	from /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle:23:in `<main>'
@jsutter909
Copy link

+1

@taf2
Copy link

taf2 commented Jan 13, 2025

possibly they're missing the dependency in the gem file for lru_redux gem...

@broksonic21
Copy link

We ran into this too - looks like 5.6.3 might have fixed it? #1887

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

4 participants