Skip to content

Commit

Permalink
Use bundler platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berger committed Mar 29, 2024
1 parent 70e51ef commit bde2446
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ gem "rubocop-rake", ">= 0.6.0"
gem "rubocop-rspec", ">= 2.27.1"
gem "standard", ">= 1.35.1"

if RUBY_DESCRIPTION.start_with?("jruby")
gem "gson", ">= 0.6", require: false
else
gem "oj", "~> 3.0", require: false
gem "yajl-ruby", "~> 1.3", require: false
end
gem "gson", ">= 0.6", platforms: [:jruby], require: false
gem "jrjackson", ">= 0.4.18", platforms: [:jruby], require: false
gem "oj", "~> 3.0", platforms: [:ruby], require: false
gem "yajl-ruby", "~> 1.3", platforms: [:ruby], require: false

gemspec

0 comments on commit bde2446

Please sign in to comment.