Slide 13
Slide 13 text
gemfiles/rails61.gemfile
eval_gemfile File.expand_path('../Gemfile', __dir__)
{
'rails' => { github: 'rails/rails', tag: 'v6.1.4.1' },
'enumerize' => { github: 'brainspec/enumerize', tag: 'v2.4.0' },
'switch_point' => nil
}.each do |name, opts|
dependencies.delete_if { |d| d.name == name }
gem(name, **opts) if opts
end
13