Closed as duplicate of#524
Description
I am developing an application using Rails, Tailwind 4, and deploying it with Kamal.
Gem versions:
rails 8.0.2
tailwindcss-rails (4.2.2)
tailwindcss-ruby (4.1.3)
kamal (2.5.3)
When I run the application locally, it functions correctly. However, after deploying it with Kamal, the Tailwind CSS included in the image does not contain utility classes such as px-<number>
, opacity-<number>
, gap-<number>
, h-<number>
, top-<number>
, and bottom-<number>
, even though other similar classes appear to be present.
Here are the steps I have taken so far:
- Verified that all classes are used directly within the template files (e.g., building them in Ruby, etc.).
- Built remotely with Kamal using an AMD64 architecture.
here're the two different built files
tailwind-development.css.txt
tailwind-production.css.txt
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels