Replies: 2 comments 1 reply
-
Noticed this in the bundler ENV output: tailwindcss-rails (2.0.32-x86_64-linux) Are you checking linux vs unix? Does it really matter or just a test failure? |
Beta Was this translation helpful? Give feedback.
-
This gem, Alternatively, you may install |
Beta Was this translation helpful? Give feedback.
-
Tailwindcss::Commands::UnsupportedPlatformException: tailwindcss-rails does not support the x86-freebsd platform (Tailwindcss::Commands::UnsupportedPlatformException)
Is this intentional or an error that FreeBSD is not supported by TailwindCSS-rails. If so is there a work around?
Setting up a FreeBSD 14 Rails development server. I created my first app with --css tailwind and tailwinds-rails gave the above error when I started my app bare bones. Here is the complete output:
19:27:47 web.1 | started with pid 39150
19:27:47 css.1 | started with pid 39151
19:27:48 web.1 | DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-1001/ruby-debug-mww-39150)
19:27:48 web.1 | => Booting Puma
19:27:48 web.1 | => Rails 7.1.2 application starting in development
19:27:48 web.1 | => Run
bin/rails server --help
for more startup options19:27:48 css.1 | bin/rails aborted!
19:27:48 css.1 | Tailwindcss::Commands::UnsupportedPlatformException: tailwindcss-rails does not support the x86-freebsd platform (Tailwindcss::Commands::UnsupportedPlatformException)
19:27:48 css.1 | Please install tailwindcss following instructions at https://tailwindcss.com/docs/installation
19:27:48 css.1 |
19:27:48 css.1 | Tasks: TOP => tailwindcss:watch
19:27:48 css.1 | (See full trace by running task with --trace)
19:27:48 web.1 | Puma starting in single mode...
19:27:48 web.1 | * Puma version: 6.4.0 (ruby 3.2.2-p53) ("The Eagle of Durango")
19:27:48 web.1 | * Min threads: 5
19:27:48 web.1 | * Max threads: 5
19:27:48 web.1 | * Environment: development
19:27:48 web.1 | * PID: 39150
19:27:48 web.1 | * Listening on http://192.168.2.9:3000
19:27:48 web.1 | Use Ctrl-C to stop
19:27:48 css.1 | exited with code 1
19:27:48 system | sending SIGTERM to all processes
19:27:48 web.1 | - Gracefully stopping, waiting for requests to finish
19:27:48 web.1 | Exiting
19:27:48 web.1 | terminated by SIGTERM
Ruby version: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [i586-freebsd14.0]
Rails version: Rails 7.1.2
gem version: 3.4.10
bundler version: Bundler version 2.4.10
gem install -V tailwindcss-rails:
HEAD https://index.rubygems.org/
200 OK
GET https://index.rubygems.org/info/tailwindcss-rails
200 OK
GET https://index.rubygems.org/quick/Marshal.4.8/tailwindcss-rails-2.0.32.gemspec.rz
200 OK
GET https://index.rubygems.org/info/rails
200 OK
GET https://index.rubygems.org/info/railties
200 OK
GET https://index.rubygems.org/info/actionpack
200 OK
GET https://index.rubygems.org/info/activesupport
200 OK
GET https://index.rubygems.org/info/irb
200 OK
GET https://index.rubygems.org/info/method_source
200 OK
GET https://index.rubygems.org/info/rackup
200 OK
GET https://index.rubygems.org/info/rake
200 OK
GET https://index.rubygems.org/info/thor
200 OK
GET https://index.rubygems.org/info/zeitwerk
200 OK
GET https://index.rubygems.org/info/actionview
200 OK
GET https://index.rubygems.org/info/nokogiri
200 OK
GET https://index.rubygems.org/info/racc
200 OK
GET https://index.rubygems.org/info/rack
200 OK
GET https://index.rubygems.org/info/rack-session
200 OK
GET https://index.rubygems.org/info/rack-test
200 OK
GET https://index.rubygems.org/info/rails-dom-testing
200 OK
GET https://index.rubygems.org/info/rails-html-sanitizer
200 OK
GET https://index.rubygems.org/info/mini_portile2
200 OK
GET https://index.rubygems.org/info/base64
200 OK
GET https://index.rubygems.org/info/bigdecimal
200 OK
GET https://index.rubygems.org/info/concurrent-ruby
200 OK
GET https://index.rubygems.org/info/connection_pool
200 OK
GET https://index.rubygems.org/info/drb
200 OK
GET https://index.rubygems.org/info/i18n
200 OK
GET https://index.rubygems.org/info/minitest
200 OK
GET https://index.rubygems.org/info/mutex_m
200 OK
GET https://index.rubygems.org/info/tzinfo
200 OK
GET https://index.rubygems.org/info/builder
200 OK
GET https://index.rubygems.org/info/erubi
200 OK
GET https://index.rubygems.org/info/loofah
200 OK
GET https://index.rubygems.org/info/mini_portile
200 OK
GET https://index.rubygems.org/info/pkg-config
200 OK
GET https://index.rubygems.org/info/crass
200 OK
GET https://index.rubygems.org/info/webrick
200 OK
GET https://index.rubygems.org/info/ruby2_keywords
200 OK
GET https://index.rubygems.org/info/rdoc
200 OK
GET https://index.rubygems.org/info/reline
200 OK
GET https://index.rubygems.org/info/io-console
200 OK
GET https://index.rubygems.org/info/hoe
200 OK
GET https://index.rubygems.org/info/json
200 OK
GET https://index.rubygems.org/info/psych
200 OK
GET https://index.rubygems.org/info/stringio
200 OK
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/MIT-LICENSE
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/README.md
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/Rakefile
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.alternates.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.cyrillic.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.extra.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.greek.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.latin-ext.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.latin.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.symbols.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-italic.vietnamese.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.alternates.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.cyrillic.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.extra.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.greek.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.latin-ext.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.latin.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.symbols.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/fonts/Inter-roman.vietnamese.var.woff2
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/app/assets/stylesheets/inter-font.css
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/exe/tailwindcss
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/controller/controller_generator.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/controller/templates/view.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/mailer/mailer_generator.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/mailer/templates/view.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/mailer/templates/view.text.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/scaffold_generator.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/edit.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/partial.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/install/Procfile.dev
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/install/application.tailwind.css
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/install/dev
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/install/tailwind.config.js
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/install/tailwindcss.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tailwindcss-rails.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tailwindcss/commands.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tailwindcss/engine.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tailwindcss/upstream.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tailwindcss/version.rb
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tasks/build.rake
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tasks/clobber.rake
/home/mww/.rvm/gems/ruby-3.2.2/gems/tailwindcss-rails-2.0.32/lib/tasks/install.rake
/home/mww/.rvm/gems/ruby-3.2.2/bin/tailwindcss
Successfully installed tailwindcss-rails-2.0.32
1 gem installed
gem env:
RubyGems Environment:
bundle env:
Environment
Bundler Build Metadata
Gemfile
Gemfile
Gemfile.lock
Beta Was this translation helpful? Give feedback.
All reactions