From 83eb789983cf98b8d94315be702d0baecf7ede3d Mon Sep 17 00:00:00 2001 From: Ben Lerchin Date: Wed, 10 Aug 2022 00:20:39 -0700 Subject: [PATCH 1/2] address issue when running commands with #exec (#189) --- lib/tasks/build.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/build.rake b/lib/tasks/build.rake index 4c242863..66f8c441 100644 --- a/lib/tasks/build.rake +++ b/lib/tasks/build.rake @@ -3,12 +3,12 @@ TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(__dir__).to_s}/../.. namespace :tailwindcss do desc "Build your Tailwind CSS" task :build do - exec TAILWIND_COMPILE_COMMAND + system(TAILWIND_COMPILE_COMMAND, exception: true) end desc "Watch and build your Tailwind CSS on file changes" task :watch do - exec "#{TAILWIND_COMPILE_COMMAND} -w" + system "#{TAILWIND_COMPILE_COMMAND} -w" end end From 831d92984314c79ae16a19592a8551b3cc00bc3a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 10 Aug 2022 09:21:08 +0200 Subject: [PATCH 2/2] Bump version for 2.0.12 --- Gemfile.lock | 2 +- lib/tailwindcss/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f380c0ef..d0af6192 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - tailwindcss-rails (2.0.11) + tailwindcss-rails (2.0.12) railties (>= 6.0.0) GEM diff --git a/lib/tailwindcss/version.rb b/lib/tailwindcss/version.rb index 07cbd694..d5f99014 100644 --- a/lib/tailwindcss/version.rb +++ b/lib/tailwindcss/version.rb @@ -1,3 +1,3 @@ module Tailwindcss - VERSION = "2.0.11" + VERSION = "2.0.12" end