Skip to content

Commit 0818416

Browse files
committed
fix: restore listen gem in Gemfile.lock for CI compatibility
Remove conditional Ruby version check for listen gem to ensure Gemfile.lock contains the dependency for all Ruby versions.
1 parent 859cdeb commit 0818416

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ group :development, :test do
1313
gem "simplecov", "~> 0.22.0", require: false
1414
gem "simplecov-lcov", "~> 0.8.0", require: false
1515

16-
# listen gem for watch mode - skip on Ruby 4.0+ due to ffi compatibility
17-
gem "listen", "~> 3.8" if RUBY_VERSION < "4.0"
16+
# listen gem for watch mode
17+
# Note: May have compatibility issues on Ruby 4.0+ due to ffi
18+
gem "listen", "~> 3.8"
1819
end

Gemfile.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ GEM
1212
benchmark (0.5.0)
1313
diff-lcs (1.6.2)
1414
docile (1.4.1)
15+
ffi (1.17.3)
16+
ffi (1.17.3-x86_64-linux-gnu)
1517
json (2.17.1)
1618
language_server-protocol (3.17.0.5)
1719
lint_roller (1.1.0)
20+
listen (3.9.0)
21+
rb-fsevent (~> 0.10, >= 0.10.3)
22+
rb-inotify (~> 0.9, >= 0.9.10)
1823
logger (1.7.0)
1924
parallel (1.27.0)
2025
parser (3.3.10.0)
@@ -24,6 +29,9 @@ GEM
2429
racc (1.8.1)
2530
rainbow (3.1.1)
2631
rake (13.3.1)
32+
rb-fsevent (0.11.2)
33+
rb-inotify (0.11.1)
34+
ffi (~> 1.0)
2735
rbs (3.10.0)
2836
logger
2937
regexp_parser (2.11.3)
@@ -74,6 +82,7 @@ PLATFORMS
7482
x86_64-linux
7583

7684
DEPENDENCIES
85+
listen (~> 3.8)
7786
rake (~> 13.0)
7887
rbs (~> 3.0)
7988
rspec (~> 3.0)

0 commit comments

Comments
 (0)