From cd45511223390b6b8321766a8ca609b52d2f9a71 Mon Sep 17 00:00:00 2001 From: Philip Mueller Date: Thu, 1 Feb 2024 17:18:38 -0500 Subject: [PATCH] try to fix rails builds --- gemfiles/Gemfile-rails-6-0 | 1 - gemfiles/Gemfile-rails-6-1 | 1 - lib/packwerk/parsers/ruby.rb | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gemfiles/Gemfile-rails-6-0 b/gemfiles/Gemfile-rails-6-0 index 20963d599..9ad2e0494 100644 --- a/gemfiles/Gemfile-rails-6-0 +++ b/gemfiles/Gemfile-rails-6-0 @@ -15,7 +15,6 @@ gem("rubocop-sorbet", require: false) gem("mocha", require: false) gem("rubocop-shopify", require: false) gem("tapioca", require: false) -gem("prism", require: false) group :development do gem("byebug", require: false) diff --git a/gemfiles/Gemfile-rails-6-1 b/gemfiles/Gemfile-rails-6-1 index 8d609f07e..e704111a6 100644 --- a/gemfiles/Gemfile-rails-6-1 +++ b/gemfiles/Gemfile-rails-6-1 @@ -15,7 +15,6 @@ gem("rubocop-sorbet", require: false) gem("mocha", require: false) gem("rubocop-shopify", require: false) gem("tapioca", require: false) -gem("prism", require: false) group :development do gem("byebug", require: false) diff --git a/lib/packwerk/parsers/ruby.rb b/lib/packwerk/parsers/ruby.rb index b841d07fd..3adc802b1 100644 --- a/lib/packwerk/parsers/ruby.rb +++ b/lib/packwerk/parsers/ruby.rb @@ -3,6 +3,7 @@ require "parser" require "prism" +require "prism/translation/parser" module Packwerk module Parsers