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