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.alpha.27-arm64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.27-aarch64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-x86_64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26 exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-arm64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.26-aarch64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-x86_64-linux exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25 exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-arm64-darwin exe/tailwindcss
tailwindcss-ruby-4.0.0.alpha.25-aarch64-linux exe/tailwindcss
tailwindcss-ruby-3.4.13-x86_64-linux exe/tailwindcss
tailwindcss-ruby-3.4.13-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-3.4.13-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-3.4.13-x64-mingw32 exe/tailwindcss