Skip to content

A platform for community discussion. Free, open, simple.

FIX: rss gem is bundled gem since Ruby 3 (#14350)

Yasuo Hondaa29a6522d04d
diff --git a/Gemfile b/Gemfile
index 9c2ff7cdbb6..e09839e88af 100644
--- a/Gemfile
+++ b/Gemfile
@@ -210,6 +210,9 @@ gem 'gc_tracer', require: false, platform: :mri
# required for feed importing and embedding
gem 'ruby-readability', require: false
+# rss gem is a bundled gem from Ruby 3 onwards
+gem 'rss', require: false
+
gem 'stackprof', require: false, platform: :mri
gem 'memory_profiler', require: false, platform: :mri
diff --git a/Gemfile.lock b/Gemfile.lock
index ae8e1eaf506..68f050a5357 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -380,6 +380,8 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.10.2)
+ rss (0.2.9)
+ rexml
rswag-specs (2.4.0)
activesupport (>= 3.1, < 7.0)
json-schema (~> 2.2)
@@ -581,6 +583,7 @@ DEPENDENCIES
rspec
rspec-html-matchers
rspec-rails
+ rss
rswag-specs
rtlit
rubocop-discourse