Skip to content

Commit

Permalink
Update Sequel, set up debug for debugging newer rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Dec 25, 2024
1 parent 33ca12b commit 58a49ba
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,19 @@ group :test do
gem "jdbc-sqlite3", platforms: :jruby
gem "mysql2", "~> 0.5", platforms: :ruby
gem "pg", "~> 1.2", platforms: :ruby
gem "pry", platforms: :jruby
gem "pry-byebug", platforms: :ruby
gem "ruby-oci8", platforms: :ruby if ENV["ROM_USE_ORACLE"]
gem "sequel_pg", require: false, platforms: :ruby
gem "sqlite3", "~> 1.4", platforms: :ruby

if RUBY_VERSION.start_with?("3.4")

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3")
gem "debug", platforms: :ruby
else
gem "pry", platforms: :jruby
gem "pry-byebug", platforms: :ruby
end

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
gem "mutex_m"
gem "ostruct"
end
Expand Down

0 comments on commit 58a49ba

Please sign in to comment.