Sha256: 3505dcbc1932f85431fff45a2bc55f69a9207cc0acd60c6c8bce9b4dccfe6173

Contents?: true

Size: 620 Bytes

Versions: 399

Compression:

Stored size: 620 Bytes

Contents

#! /usr/bin/env ruby
# because rubygems shims assume a gem's executables are Ruby

require "tailwindcss/commands"

begin
  command = [Tailwindcss::Commands.executable, *ARGV]
  puts command.inspect
  if Gem.win_platform?
    # use system rather than exec as exec inexplicably fails to find the executable on Windows
    # see related https://github.com/rubys/sprockets-esbuild/pull/4
    system(*command, exception: true)
  else
    exec(*command)
  end
rescue Tailwindcss::Commands::UnsupportedPlatformException, Tailwindcss::Commands::ExecutableNotFoundException => e
  STDERR.puts("ERROR: " + e.message)
  exit 1
end

Version data entries

399 entries across 399 versions & 5 rubygems

Version Path
tailwindcss-rails-2.0.18-aarch64-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.20-x86_64-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.20-x86_64-darwin exe/tailwindcss
tailwindcss-rails-alt-2.0.20-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-alt-2.0.20-x64-mingw32 exe/tailwindcss
tailwindcss-rails-alt-2.0.20 exe/tailwindcss
tailwindcss-rails-alt-2.0.20-arm-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.20-arm64-darwin exe/tailwindcss
tailwindcss-rails-alt-2.0.20-aarch64-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.19-x86_64-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.19-x86_64-darwin exe/tailwindcss
tailwindcss-rails-alt-2.0.19-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-alt-2.0.19-x64-mingw32 exe/tailwindcss
tailwindcss-rails-alt-2.0.19 exe/tailwindcss
tailwindcss-rails-alt-2.0.19-arm-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.19-arm64-darwin exe/tailwindcss
tailwindcss-rails-alt-2.0.19-aarch64-linux exe/tailwindcss
tailwindcss-rails-alt-2.0.18-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-alt-2.0.18-x64-mingw32 exe/tailwindcss
tailwindcss-rails-alt-2.0.18 exe/tailwindcss