Sha256: aa71d913c63954cceb07404a436e2343c517889168b468d1307e12bcf3ddd725

Contents?: true

Size: 604 Bytes

Versions: 112

Compression:

Stored size: 604 Bytes

Contents

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

require "tailwindcss/ruby"

begin
  command = [Tailwindcss::Ruby.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::Ruby::UnsupportedPlatformException, Tailwindcss::Ruby::ExecutableNotFoundException => e
  STDERR.puts("ERROR: " + e.message)
  exit 1
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
tailwindcss-ruby-4.0.0.beta.4-x86_64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4-arm64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.4-aarch64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-x86_64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-arm64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.3-aarch64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2-x86_64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2 exe/tailwindcss
tailwindcss-ruby-4.0.0.beta.2-arm64-darwin exe/tailwindcss