Sha256: bfc7e1357c2ad45e3f61a0849595bc9f3b7256dced47db71e8f26a4ca33e625c

Contents?: true

Size: 597 Bytes

Versions: 16

Compression:

Stored size: 597 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
  warn("ERROR: " + e.message)
  exit 1
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
tailwindcss-ruby-3.4.15-x86_64-linux exe/tailwindcss
tailwindcss-ruby-3.4.15-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-3.4.15-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-3.4.15-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-3.4.15 exe/tailwindcss
tailwindcss-ruby-3.4.15-arm-linux exe/tailwindcss
tailwindcss-ruby-3.4.15-arm64-darwin exe/tailwindcss
tailwindcss-ruby-3.4.15-aarch64-linux exe/tailwindcss
tailwindcss-ruby-3.4.14-x86_64-linux exe/tailwindcss
tailwindcss-ruby-3.4.14-x86_64-darwin exe/tailwindcss
tailwindcss-ruby-3.4.14-x64-mingw-ucrt exe/tailwindcss
tailwindcss-ruby-3.4.14-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-3.4.14 exe/tailwindcss
tailwindcss-ruby-3.4.14-arm-linux exe/tailwindcss
tailwindcss-ruby-3.4.14-arm64-darwin exe/tailwindcss
tailwindcss-ruby-3.4.14-aarch64-linux exe/tailwindcss