Skip to content

Commit b7706bb

Browse files
committed
Support Ruby 3.2.0dev which removed File.exists?
Refer kubo/ruby-oci8#242
1 parent 3bf01c8 commit b7706bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Gemfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
source "http://rubygems.org"
22

3+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
4+
35
group :development do
46
gem "juwelier", "~> 2.0"
57
gem "rspec_junit_formatter"
@@ -19,6 +21,10 @@ group :test, :development do
1921
end
2022

2123
platforms :ruby, :mswin, :mingw do
22-
gem "ruby-oci8", "~> 2.1"
24+
if RUBY_VERSION >= "3.2"
25+
gem "ruby-oci8", github: "kubo/ruby-oci8", branch: "master"
26+
else
27+
gem "ruby-oci8", "~> 2.1"
28+
end
2329
end
2430
end

0 commit comments

Comments
 (0)