Skip to content

Commit

Permalink
Don't load psych related dev gems in jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py committed Dec 3, 2024
1 parent 0f89aa8 commit a19ef59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ gem "rake", "~> 12.0"
ruby_version = Gem::Version.new(RUBY_VERSION)

# Development tools
if ruby_version >= Gem::Version.new("2.7.0")
gem "debug", github: "ruby/debug", platform: :ruby
if RUBY_PLATFORM != "java" && ruby_version >= Gem::Version.new("2.7.0")
gem "debug", github: "ruby/debug"
gem "irb"
gem "ruby-lsp-rspec" if ruby_version >= Gem::Version.new("3.0.0") && RUBY_PLATFORM != "java"
gem "ruby-lsp-rspec" if ruby_version >= Gem::Version.new("3.0.0")
end

# For RSpec
Expand Down
3 changes: 0 additions & 3 deletions sentry-delayed_job/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ gemspec
gem "sentry-ruby", path: "../sentry-ruby"
gem "sentry-rails", path: "../sentry-rails"

# For https://github.com/ruby/psych/issues/655
gem "psych", "5.1.0"

gem "delayed_job"
gem "delayed_job_active_record"

Expand Down

0 comments on commit a19ef59

Please sign in to comment.