-
Notifications
You must be signed in to change notification settings - Fork 174
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
rails assets:precompile gives error: tailwindcss-rails does not support the x86_64-linux platform #200
Comments
Hi, sorry you're having a problem, I'll try to help. This gem absolutely supports alpine, so we'll need more information about your Rails app to diagnose what's going on. Can you please share the output of |
@flavorjones I just hit the same issue with a new (minimal) rails 7.0.4 application. It seems it only occurs when using rubygems 3.3.22. It does not occur when using rubygems 3.3.7 (but this version causes rubygems/rubygems#5351). In all cases using ruby:3.1-alpine as base image. |
@gucki I think you're describing rubygems/rubygems#5914? But I'm only guessing because I don't know what command you're running ( @deflexor Can you please share the output of |
Hello, here it is. Environment
|
@flavorjones No, when I have rubygems 3.3.22 installed and run |
I see ... just to confirm, the native gem is installing fine but you're getting this error from the |
OK, I've identified the problem upstream in rubygems, and bug has been filed here: rubygems/rubygems#5938 |
to work around rubygems/rubygems#5938 Closes #200
to work around rubygems/rubygems#5938 Closes #200
to work around rubygems/rubygems#5938 Closes #200
to work around rubygems/rubygems#5938 Closes #200
ci: try to reproduce the musl issue from #200
Release v2.0.14 / 2022-09-19 · rails/tailwindcss-rails has been released which works around this bug. |
@flavorjones Thank you! I can confirm it fixed the issue for me. |
Dockerfile:
Results in error:
Tailwindcss::Commands::UnsupportedPlatformException: tailwindcss-rails does not support the x86_64-linux platform
The text was updated successfully, but these errors were encountered: