tailwindcss-rails 2.0.3-aarch64-linux → 2.0.4-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a02f4490cc443d488245e2f23084ee4c6db6d96b113162d4a90e674e0a4711e5
4
- data.tar.gz: 9a15c7bcf6f209776feac43f5ec697830a08eb2f7b17b254b004f9cd09eae7bf
3
+ metadata.gz: 218e68a2cda152be2c8189a03271a81d089b6cd25da13f4b7ab777aea95fd38a
4
+ data.tar.gz: 2efc3afd46532e9ad4527482a7b8d010b7656f271ead413c3e62d7453fc7e92e
5
5
  SHA512:
6
- metadata.gz: c74ccc990a140038c1d8e44253f0f1e5d270370adb19b660baa03c3c7c9c72f2556e722c2e124ed9d04f53e9cb71005075b245c3298afedeb3329164719c3913
7
- data.tar.gz: 8bbfd32b1d76a18aa30ea2c46d688df4113d69cf299c290c27c8b4b456a750c4ea7f32471299cc2d2252b969c6d4aee568372c0df2227849d3cc40e3258a1f96
6
+ metadata.gz: 6545caafd570de224cec4cbb7d28273608f216308a8e998a9875fac91bf617c5b226eebd62af69efe33d8d71a68b532682833a0e69ffc50dbc7a77120d92fdb2
7
+ data.tar.gz: 5bef57dcc1dd56d3820a7b6a6223281c2ac2815f634cfce0f2263f3c7aa04a5790f71ee77d9cae2b16f09b23768e50fb2e58e1018e67f1c11d16bf5dd4e9d1f2
data/README.md CHANGED
@@ -31,6 +31,63 @@ The `tailwindcss:build` is automatically attached to `assets:precompile`, so bef
31
31
  Tailwind uses modern CSS features that are not recognized by the `sassc-rails` extension that was included by default in the Gemfile for Rails 6. In order to avoid any errors like `SassC::SyntaxError`, you must remove that gem from your Gemfile.
32
32
 
33
33
 
34
+ ## Troubleshooting
35
+
36
+ Some common problems experienced by users ...
37
+
38
+ ### ERROR: Cannot find the tailwindcss executable for <supported platform>
39
+
40
+ Some users are reporting this error even when running on one of the supported native platforms:
41
+
42
+ - arm64-darwin
43
+ - x64-mingw32
44
+ - x86_64-darwin
45
+ - x86_64-linux
46
+ - aarch64-linux
47
+
48
+ #### Check Bundler PLATFORMS
49
+
50
+ A possible cause of this is that Bundler has not been told to include native gems for your current platform. Please check your `Gemfile.lock` file to see whether your native platform is included in the `PLATFORMS` section. If necessary, run:
51
+
52
+ ``` sh
53
+ bundle lock --add-platform <platform-name>
54
+ ```
55
+
56
+ and re-bundle.
57
+
58
+
59
+ #### Check BUNDLE_FORCE_RUBY_PLATFORM
60
+
61
+ Another common cause of this is that bundler is configured to always use the "ruby" platform via the
62
+ `BUNDLE_FORCE_RUBY_PLATFORM` config parameter being set to `true`. Please remove this configuration:
63
+
64
+ ``` sh
65
+ bundle config unset force_ruby_platform
66
+ # or
67
+ bundle config set --local force_ruby_platform false
68
+ ```
69
+
70
+ and re-bundle.
71
+
72
+ See https://bundler.io/man/bundle-config.1.html for more information.
73
+
74
+
75
+ ### "No such file or directory" running on Alpine (musl)
76
+
77
+ When running `tailwindcss` on an Alpine system, some users report a "No such file or directory" error message.
78
+
79
+
80
+ #### Install gnu libc compatibility
81
+
82
+ The cause of this is the upstream `tailwindcss` binary executables being built on a gnu libc system, making them incompatible with standard musl libc systems.
83
+
84
+ A fix for this has been proposed upstream at https://github.com/tailwindlabs/tailwindcss/discussions/6785, but in the meantime a workaround is to install compatibility libraries:
85
+
86
+ ``` sh
87
+ apk add build-base gcompat
88
+ ```
89
+
90
+
34
91
  ## License
35
92
 
36
93
  Tailwind for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,2 +1,2 @@
1
1
  web: bin/rails server -p 3000
2
- css: rails tailwindcss:watch
2
+ css: bin/rails tailwindcss:watch
@@ -35,7 +35,7 @@ unless Rails.root.join("app/assets/stylesheets/application.tailwind.css").exist?
35
35
  end
36
36
 
37
37
  if Rails.root.join("Procfile.dev").exist?
38
- append_to_file "Procfile.dev", "css: rails tailwindcss:watch\n"
38
+ append_to_file "Procfile.dev", "css: bin/rails tailwindcss:watch\n"
39
39
  else
40
40
  say "Add default Procfile.dev"
41
41
  copy_file "#{__dir__}/Procfile.dev", "Procfile.dev"
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-03 00:00:00.000000000 Z
11
+ date: 2022-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties