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

Add bundle clean on autostore #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add bundle clean on autostore #245

wants to merge 1 commit into from

Conversation

bogyo210
Copy link
Collaborator

No description provided.

@bogyo210 bogyo210 requested review from skipi, radwo and shiroyasha June 17, 2021 07:46
Copy link
Member

@radwo radwo left a comment

Choose a reason for hiding this comment

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

We need to remember, that this command will remove all the gems that are not in Gemfile.lock.

For example, test-boosters are install in such a way

@mattbrictson
Copy link

I think it would be easier (and probably more efficient) to set the BUNDLE_CLEAN=true env var. That instructs Bundler to auto clean at the end of bundle install.

https://bundler.io/v2.4/man/bundle-config.1.html#LIST-OF-AVAILABLE-KEYS

The following is a list of all configuration keys and their purpose.
clean (BUNDLE_CLEAN): Whether Bundler should run bundle clean automatically after bundle install.

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.

4 participants