From e5ba969e340b99d80cd4d2e97c56496b9622368e Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Fri, 12 Jan 2024 11:18:43 -0500 Subject: [PATCH] Skip for Gemfile-rails-main --- test/ruby_lsp_rails/rails_client_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ruby_lsp_rails/rails_client_test.rb b/test/ruby_lsp_rails/rails_client_test.rb index 2a74d05c..30449bcc 100644 --- a/test/ruby_lsp_rails/rails_client_test.rb +++ b/test/ruby_lsp_rails/rails_client_test.rb @@ -36,6 +36,8 @@ class RailsClientTest < ActiveSupport::TestCase end test "instantiation finds the right directory when bundle gemfile points to .ruby-lsp" do + skip if ENV["BUNDLE_GEMFILE"].end_with?("gemfiles/Gemfile-rails-main") + previous_bundle_gemfile = ENV["BUNDLE_GEMFILE"] project_root = Pathname.new(previous_bundle_gemfile).dirname