From 651bbfc587c863ba7b758b9ac86fcad49af785eb Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Fri, 12 Jan 2024 11:06:40 -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..20d96089 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"] == "gemfiles/Gemfile-rails-main" + previous_bundle_gemfile = ENV["BUNDLE_GEMFILE"] project_root = Pathname.new(previous_bundle_gemfile).dirname