From 90e47970ac8e85d3d06493f67f37301cea569723 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 20 Jan 2025 12:42:11 -0700 Subject: [PATCH] fixup ruby tests --- Gemfile | 8 +------- test/support/test_helper.rb | 3 +++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 5c531f63ea..6bc5f0ce0b 100644 --- a/Gemfile +++ b/Gemfile @@ -14,11 +14,5 @@ group :development do gem 'rspec', '~> 3.12.0' gem 'rspec-collection_matchers' gem 'webrick', '~> 1.8.1' -end - -if ENV['USER'] == 'camdennarzt' - group :development do - gem 'solargraph' - gem 'gpgme' - end + gem 'gpgme' if ENV['USER'] == 'camdennarzt' end diff --git a/test/support/test_helper.rb b/test/support/test_helper.rb index 7995c479d7..886028356d 100644 --- a/test/support/test_helper.rb +++ b/test/support/test_helper.rb @@ -122,6 +122,9 @@ def copy_stub_contents if !File.exist?("#{@full_app_root}/Gemfile") FileUtils.cp("#{build_system_dir}/Gemfile", @full_app_root) FileUtils.cp("#{build_system_dir}/Gemfile.lock", @full_app_root) + FileUtils.cp("#{build_system_dir}/passenger.gemspec", @full_app_root) + FileUtils.mkdir("#{@full_app_root}/src/") + FileUtils.cp_r("#{build_system_dir}/src/ruby_supportlib", "#{@full_app_root}/src/") if File.exist?("#{build_system_dir}/.bundle") FileUtils.cp_r("#{build_system_dir}/.bundle", @full_app_root) end