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

[v3.4] Do not require active_storage/engine #5453

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

github-actions[bot]
Copy link

Backport

This will backport the following commits from main to v3.4:

Questions ?

Please refer to the Backport tool documentation

@github-actions github-actions bot requested a review from a team as a code owner October 25, 2023 08:51
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Oct 25, 2023
@tvdeyen
Copy link
Member

tvdeyen commented Oct 25, 2023

Tests fail because of a chromedriver not found error

The activestorage adapter is optional and stores might
use another attachment adapter (ie. paperclip).

Since bundler already requires activestorage if the store
decided to use activestorage adapter (either via a direct
dependency or the transient rails gem) we do not need
to require it in our engine.

This removes a LoadError for stores/engines that do not
use activestorage.

(cherry picked from commit ea0254b)
@tvdeyen tvdeyen force-pushed the backport/v3.4/pr-5450 branch from 69f07ed to 8b1bfa7 Compare October 27, 2023 09:24
@tvdeyen tvdeyen merged commit 6234102 into v3.4 Oct 27, 2023
2 checks passed
@tvdeyen tvdeyen deleted the backport/v3.4/pr-5450 branch October 27, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants