We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37ed78 commit 976ddabCopy full SHA for 976ddab
tailwindcss-rails.gemspec
@@ -20,4 +20,18 @@ Gem::Specification.new do |spec|
20
21
spec.add_dependency "railties", ">= 7.0.0"
22
spec.add_dependency "tailwindcss-ruby", "~> 4.0"
23
+
24
+ # TODO: remove this after a suitable period of time after the v4.0.0 release.
25
+ spec.post_install_message = <<~TEXT
26
+ == Upgrading to Tailwind CSS v4 ==
27
28
+ If you are upgrading to tailwindcss-rails 4.x, please read the upgrade guide at:
29
30
+ https://github.com/rails/tailwindcss-rails/blob/main/README.md#upgrading-your-application-from-tailwind-v3-to-v4
31
32
+ If you're not ready to upgrade yet, please pin to version 3 in your Gemfile:
33
34
+ gem "tailwindcss-rails", "~> 3.3.1"
35
36
+ TEXT
37
end
0 commit comments