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

Exclude specific gems from autoupdate #34

Open
ajb opened this issue Feb 4, 2016 · 0 comments
Open

Exclude specific gems from autoupdate #34

ajb opened this issue Feb 4, 2016 · 0 comments

Comments

@ajb
Copy link

ajb commented Feb 4, 2016

In my Gemfile, I've locked the gem active_model_serializers to a specific version:

gem 'active_model_serializers', '0.8.3'

While 0.8.3 is an old version, the newer versions are basically different gems, and I'm waiting until a stable 1.0.0 release in order to upgrade. The upgrade process for that gem is pretty strange: https://github.com/rails-api/active_model_serializers#release-candidate-please-read

So when I run gemnasium autoupdate, it tries updating that gem, even though I've explicitly locked the version in my Gemfile. This leads to the command taking a long time to execute (#33).

I know changing the default behavior would probably be a bad idea, especially because some people specify gem versions directly in their Gemfile instead of using Gemfile.lock as intended. But maybe some kind of flag that can be passed in order to exclude certain gems from the autoupdate?

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

No branches or pull requests

1 participant