Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Nov 14, 2024
1 parent a129aa3 commit 26abb98
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sentry-delayed_job/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ platform :jruby do
gem "jdbc-sqlite3"
end

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.5.0")
gem "sqlite3", "~> 1.3.0", platform: :ruby
else
gem "sqlite3", "~> 2.1", platform: :ruby
ruby_version = Gem::Version.new(RUBY_VERSION)

if ruby_version < Gem::Version.new("2.5.0")
gem "sqlite3", "~> 1.6.0", platform: :ruby
elsif ruby_version >= Gem::Version.new("3.0.0") && ruby_version < Gem::Version.new("3.1.0")
gem "sqlite3", "~> 1.7.0", platform: :ruby
elsif ruby_version >= Gem::Version.new("3.1.0")
gem "sqlite3", "~> 2.2", platform: :ruby
end

eval_gemfile File.expand_path("../Gemfile", __dir__)

0 comments on commit 26abb98

Please sign in to comment.