Skip to content
Open
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
2 changes: 1 addition & 1 deletion play-with-docker/Portus/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def packaging?
end

# If the deployment is done through Puma, include it in the bundle.
gem "puma", "~> 3.7.0" if ENV["PORTUS_PUMA_DEPLOYMENT"] == "yes" || !packaging?
gem "puma", "~> 5.6.9"
Copy link

Copilot AI Sep 2, 2025

Choose a reason for hiding this comment

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

The conditional logic if ENV["PORTUS_PUMA_DEPLOYMENT"] == "yes" || !packaging? was removed, which means Puma will now always be included in the bundle regardless of deployment method or packaging status. This could be a breaking change that affects how the application is deployed in different environments.

Suggested change
gem "puma", "~> 5.6.9"
if ENV["PORTUS_PUMA_DEPLOYMENT"] == "yes" || !packaging?
gem "puma", "~> 5.6.9"
end

Copilot uses AI. Check for mistakes.

# In order to create the Gemfile.lock required for packaging
# meaning that it should contain only the production packages
Expand Down
Loading