File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ def executable(exe_path: DEFAULT_DIR)
35
35
MESSAGE
36
36
end
37
37
else
38
- if Tailwindcss ::Upstream ::NATIVE_PLATFORMS . keys . none? { |p | Gem ::Platform . match_gem? ( Gem ::Platform . new ( p ) , GEM_NAME ) }
38
+ if Tailwindcss ::Upstream ::NATIVE_PLATFORMS . keys . none? { |p | Gem ::Platform . match ( Gem ::Platform . new ( p ) ) }
39
39
raise UnsupportedPlatformException , <<~MESSAGE
40
40
tailwindcss-rails does not support the #{ platform } platform
41
41
Please install tailwindcss following instructions at https://tailwindcss.com/docs/installation
42
42
MESSAGE
43
43
end
44
44
45
45
exe_file = Dir . glob ( File . expand_path ( File . join ( exe_path , "*" , "tailwindcss" ) ) ) . find do |f |
46
- Gem ::Platform . match_gem? ( Gem ::Platform . new ( File . basename ( File . dirname ( f ) ) ) , GEM_NAME )
46
+ Gem ::Platform . match ( Gem ::Platform . new ( File . basename ( File . dirname ( f ) ) ) )
47
47
end
48
48
end
49
49
You can’t perform that action at this time.
0 commit comments