Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 25 additions & 8 deletions Gemfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,39 @@ ruby_version = Gem::Version.new(RUBY_VERSION)
if ruby_version >= Gem::Version.new("2.7.0")
gem "debug", github: "ruby/debug", platform: :ruby
gem "irb"
gem "ruby-lsp-rspec" if ruby_version >= Gem::Version.new("3.0.0") && RUBY_PLATFORM != "java"
end

if RUBY_VERSION >= "3.5"
if ruby_version >= Gem::Version.new("2.5")
gem "cgi"
end

# For RSpec
gem "rspec", "~> 3.0"
if ruby_version >= Gem::Version.new("3.4")
gem "drb"
gem "mutex_m"
gem "benchmark"
gem "base64"
gem "ostruct"
end

# RSpec
gem "rspec"
gem "rspec-retry"

if ruby_version >= Gem::Version.new("3.0") && RUBY_PLATFORM != "java"
gem "ruby-lsp-rspec"
end

# Coverage
gem "simplecov"
gem "simplecov-cobertura", "~> 1.4"
gem "rexml"

if ruby_version >= Gem::Version.new("3.4")
gem "ostruct"
# Do not change it without checking that `CI=true COVERAGE=true bundle exec rake`
# passes in all projects
if ruby_version >= Gem::Version.new("2.5")
gem "rexml", "3.4.1"
gem "simplecov-cobertura", "~> 3.0"
else
gem "rexml", "3.2.5"
gem "simplecov-cobertura", "~> 1.4.0"
end

group :rubocop do
Expand Down
1 change: 1 addition & 0 deletions sentry-rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ elsif rails_version >= Gem::Version.new("6.1.0")
gem "sqlite3", "~> 1.6.9", platform: :ruby
end
else
gem "psych", "~> 3.0.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Duplicate Gem Declaration Causes Bundler Warnings

The psych gem (~> 3.0.0) is declared twice within the same conditional block, which can lead to Bundler issues or warnings.

Fix in Cursor Fix in Web

gem "rspec-rails", "~> 4.0"
gem "psych", "~> 3.0.0"

Expand Down
Loading