From 2c05712c1de72281199c61f7fbf2530e1e5f9baa Mon Sep 17 00:00:00 2001 From: Juna Ootoovak Date: Fri, 24 May 2024 09:03:39 -0700 Subject: [PATCH] Require Thor Dependency Applications using StimulusReflex were failing during deploys because of the Thor dependency being referenced but not listed as a dependency. This commit adds the require statement to the area of the code that uses it but does not add it as a dependency due to Thor being a dependency of railties already. --- lib/stimulus_reflex/installer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/stimulus_reflex/installer.rb b/lib/stimulus_reflex/installer.rb index 70b33b4f..1c6ae73a 100644 --- a/lib/stimulus_reflex/installer.rb +++ b/lib/stimulus_reflex/installer.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "thor" + module StimulusReflex class Installer include Thor::Base