-
Notifications
You must be signed in to change notification settings - Fork 175
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
Doesn't work on macOS (M1) #101
Comments
What version of macOS are you? Latest? |
Yes, I'm using macOS Monterey 12.1 (21C52). |
Also I found other people complain about same issue #96 (comment) but this solution didn't work for me. |
Is that specific project where it doesn't work or it is not working at all? |
First I tried to add |
When you open irb (for that ruby version 3.0.0 as I can see) and inspect # irb console
RUBY_PLATFORM What value does this constant prints? |
|
I'll try to take a look today. |
…n't correct (#102) * prefactor: expose constants related to upstream tailwindcss The following constants have been moved from rakelib/package.rake into lib/tailwindcss/upstream.rb to be accessible from within the installed gem: - TAILWINDCSS_VERSION → Tailwindcss::Upstream::VERSION - TAILWINDCSS_NATIVE_PLATFORMS -> Tailwindcss::Upstream::NATIVE_PLATFORMS * fix: provide more helpful error messages See #101 and comments in #96 for examples of what's confusing users.
See #102 for a potential fix |
Addressed via #102 👍 |
After updating to version
After I ran suggested commands, |
Update to my previous comment. After
After I removed vanilla ruby version manually everything started to work. |
Hello,
I have created new rails app with
--css tailwind
flag.Neither
rails tailwindcss:build
norrails tailwindcss:watch
produce any output and fail silently.TailwindCSS executable doesn't seem to be installed with gem.
In my case command that is executed under the hood looks like this:
/Users/user/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/tailwindcss-rails-2.0.0/lib/tasks/../../exe/tailwindcss -i /Users/user/project/app/assets/stylesheets/application.tailwind.css -o /Users/user/project/app/assets/builds/tailwind.css -c /Users/user/project/config/tailwind.config.js
And when I try to execute it manually I get:
zsh: no such file or directory: /Users/user/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/tailwindcss-rails-2.0.0/lib/tasks/../../exe/tailwindcss
The text was updated successfully, but these errors were encountered: