source blocks in a Ruby Gemfile help group gems together that come from the
same source. In addition, the Gemfile supports a
github block for multiple
gems that are coming from the same github repository. In my specific case,
there are two gemspecs in the Brian Dunn’s flatware repo.
github 'briandunn/flatware', branch: master do gem 'flatware-rspec' gem 'flatware-cucumber' end
With this example, only one change is needed to change the branch that both of those gems will come from.
H/T Brian DunnTweet