Skip to content

Instantly share code, notes, and snippets.

@arika
Created July 11, 2017 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arika/e8e405c7f73aba49951e393432111564 to your computer and use it in GitHub Desktop.
Save arika/e8e405c7f73aba49951e393432111564 to your computer and use it in GitHub Desktop.
module GemDepPatch_
def to_specs
#super.select {|spec| spec.full_name != 'activesupport-5.1.2' }
super.sort_by {|spec| spec.activated? ? -1 : 1 }
end
end
Gem::Dependency.prepend(GemDepPatch_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment