rubygem-hoe/rubygem-hoe-3.21.0-always-search-gem-for-psych.patch

14 lines
306 B
Diff
Raw Permalink Normal View History

2023-01-18 15:22:50 +08:00
--- hoe-3.21.0/lib/hoe.rb.ruby27 2020-01-12 08:58:43.000000000 +0900
+++ hoe-3.21.0/lib/hoe.rb 2020-01-31 12:05:45.445601471 +0900
@@ -12,6 +12,10 @@ require "rake/testtask"
require "rbconfig"
begin
+ gem "psych"
+rescue Gem::LoadError
+end
+begin
require "psych"
rescue LoadError
# do nothing