From 9c615881dd3e9e1bdf7f613becbbbdce09808829 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Wed, 23 Nov 2022 16:38:28 -0800 Subject: [PATCH] Re-enable JRuby in the CI matrix (issue #2). --- .github/workflows/ruby.yml | 2 +- Gemfile | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a024611..09c43d9 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -11,7 +11,7 @@ jobs: ruby: - '3.0' - '3.1' - # - jruby + - jruby - truffleruby name: Ruby ${{ matrix.ruby }} steps: diff --git a/Gemfile b/Gemfile index 26589d3..9b3ada8 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,9 @@ source 'https://rubygems.org' gemspec -gem 'jruby-openssl', '~> 0.7', platforms: :jruby +platform :jruby do + gem 'jruby-openssl', '~> 0.7' +end # gem 'command_kit', '~> 0.4', github: 'postmodern/command_kit.rb', # branch: '0.4.0' @@ -27,6 +29,6 @@ group :development do gem 'yard-spellcheck', require: false gem 'dead_end', require: false - gem 'sord', require: false - gem 'stackprof', require: false + gem 'sord', require: false, platform: :mri + gem 'stackprof', require: false, platform: :mri end