Skip to content

Commit 6664ce8

Browse files
committed
Update open-uri test to work on Ruby 3
1 parent eee7cf3 commit 6664ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
- run: ruby --version
120120
- run: gem --version
121121
- run: rake --version
122-
- run: ruby -ropen-uri -e 'puts open(%{https://rubygems.org/}) { |f| f.read(1024) }'
122+
- run: ruby -ropen-uri -e 'puts URI.send(:open, %{https://rubygems.org/}) { |f| f.read(1024) }'
123123
- run: gem install json:2.2.0 --no-document
124124
- run: bundle --version
125125
- run: bundle install

0 commit comments

Comments
 (0)