Gemfile customizations via Gemfile.local
Created by: Imomoi
Hi, there.
I'm running GitLab with custom init scripts and puma
.
You removed puma
from Gemfile
some versions ago.
Can you provide some mechanics to customize Gemfile so I don not git reset --hard
+ patch
it every release.
It can be something like Redmine already do:
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
if File.exists?(local_gemfile)
puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
instance_eval File.read(local_gemfile)
end
You can check it here - http://www.redmine.org/projects/redmine/repository/entry/trunk/Gemfile#L89