Skip to content

Commit 75e18a1

Browse files
committed
Guard a few more gems that are C-ext specific
1 parent f66ed64 commit 75e18a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gem "test-unit"
1010
gem "rspec"
1111
gem "rubocop"
1212
gem "rubocop-rubycw"
13-
gem "rubocop-on-rbs"
13+
gem "rubocop-on-rbs", platform: :ruby # zlib transitive dep
1414
gem "json"
1515
gem "json-schema"
1616
gem "goodcheck"
@@ -28,15 +28,15 @@ group :libs do
2828
gem "abbrev"
2929
gem "base64"
3030
gem "bigdecimal"
31-
gem "dbm"
31+
gem "dbm", platform: :ruby
3232
gem "mutex_m"
3333
gem "nkf"
3434
end
3535

3636
group :profilers do
3737
# Performance profiling and benchmarking
38-
gem 'stackprof'
39-
gem 'memory_profiler'
38+
gem 'stackprof', platform: :ruby
39+
gem 'memory_profiler', platform: :ruby
4040
gem 'benchmark-ips'
4141
gem "ruby_memcheck", platform: :ruby
4242
end

0 commit comments

Comments
 (0)