Clarify Gemfile.local instructions in Gemfile

This commit is contained in:
Ryan Lue 2018-05-11 19:00:25 +08:00
parent 07411d6efa
commit e7ce4b9d68

12
Gemfile
View file

@ -161,8 +161,10 @@ group :development, :test do
gem 'webmock' gem 'webmock'
end end
# load onw gems for development and testing purposes # Want to extend Zammad with additional gems?
local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local') # ZAMMAD USERS: Specify them in Gemfile.local
if File.exist?(local_gemfile) # (That way, you can customize the Gemfile
eval_gemfile local_gemfile # without having your changes overwritten during upgrades.)
end # ZAMMAD DEVS: Consult the internal wiki
# (or else risk pushing unwanted changes to Gemfile.lock!)
eval_gemfile 'Gemfile.local' if File.exist?('Gemfile.local')