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.15-x86_64-darwin exe/tailwindcss
tailwindcss-rails-2.0.15-x64-mingw32 exe/tailwindcss
tailwindcss-rails-2.0.15-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-2.0.15-arm64-darwin exe/tailwindcss
tailwindcss-rails-2.0.15-aarch64-linux exe/tailwindcss
tailwindcss-rails-2.0.14-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-2.0.14 exe/tailwindcss
tailwindcss-rails-2.0.14-x86_64-linux exe/tailwindcss
tailwindcss-rails-2.0.14-x86_64-darwin exe/tailwindcss
tailwindcss-rails-2.0.14-x64-mingw32 exe/tailwindcss
tailwindcss-rails-2.0.14-arm64-darwin exe/tailwindcss
tailwindcss-rails-2.0.14-aarch64-linux exe/tailwindcss
tailwindcss-rails-2.0.13 exe/tailwindcss
tailwindcss-rails-2.0.13-x86_64-linux exe/tailwindcss
tailwindcss-rails-2.0.13-x86_64-darwin exe/tailwindcss
tailwindcss-rails-2.0.13-x64-mingw32 exe/tailwindcss
tailwindcss-rails-2.0.13-x64-mingw-ucrt exe/tailwindcss
tailwindcss-rails-2.0.13-arm64-darwin exe/tailwindcss
tailwindcss-rails-2.0.13-aarch64-linux exe/tailwindcss