Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bibdata] Preload passenger bundler #4814

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Conversation

maxkadel
Copy link
Contributor

@maxkadel maxkadel commented Mar 29, 2024

Ensure we don't try to load multiple versions of a gem

Connected to pulibrary/bibdata#2322 and pulibrary/bibdata#2282

Successful after running

sudo gem update --system 3.5.7
sudo gem install --default bundler

on the web servers (also ran on worker boxes for consistency).

This allows us to safely deploy updates to Orangetheses (see pulibrary/bibdata#2322 and pulibrary/bibdata#2282)

Ensure we don't try to load multiple versions of a gem
@maxkadel maxkadel marked this pull request as draft March 29, 2024 17:52
maxkadel and others added 2 commits April 3, 2024 16:15
- When working on something else, I found that, while the Passenger role was running on all machines, the *handler* to restart nginx was only running on the worker machines, because of this conditional. By wrapping the line in brackets, it ensures that the conditional is applied only to the sidekiq_worker role.

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
@maxkadel maxkadel marked this pull request as ready for review April 4, 2024 15:42
@kevinreiss kevinreiss merged commit 501abff into main Apr 4, 2024
65 checks passed
@kevinreiss kevinreiss deleted the fix_bibdata_and_passenger branch April 4, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants