From 99bd9ae1b514aff63e15aa0ee3a354f30706bce6 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Fri, 18 Oct 2024 15:36:02 -0500 Subject: [PATCH] Remove inside destination_root This doesn't seem to be necessary --- lib/generators/spotlight/install_generator.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/generators/spotlight/install_generator.rb b/lib/generators/spotlight/install_generator.rb index 818ece397..216567fa9 100644 --- a/lib/generators/spotlight/install_generator.rb +++ b/lib/generators/spotlight/install_generator.rb @@ -185,9 +185,7 @@ def configure_logging private def bundle_install - inside destination_root do - Bundler.with_unbundled_env { run 'bundle install' } - end + Bundler.with_original_env { system 'bundle install' } end end end