Skip to content

Commit ec292a2

Browse files
committed
Fix a build error when using Ruby 2.7
It's the same issue as rubocop/rubocop#14526.
1 parent 17371a8 commit ec292a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
77
gemspec
88

99
gem 'bump', require: false
10-
gem 'prism'
10+
# FIXME: Remove when the next prism version is released.
11+
gem 'prism', '< 1.5.0' if RUBY_VERSION < '3.0' || RUBY_ENGINE == 'jruby'
1112
gem 'rake'
1213
gem 'rspec'
1314
gem 'rubocop', github: 'rubocop/rubocop'

0 commit comments

Comments
 (0)