Load Gemfiles from vendor/chiliproject_plugins
This commit is contained in:
parent
cd0ea44ff8
commit
11b441f745
10
Gemfile
10
Gemfile
|
@ -102,7 +102,9 @@ if File.readable?(gemfile_local)
|
|||
end
|
||||
|
||||
# Load plugins' Gemfiles
|
||||
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
|
||||
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||
instance_eval File.read(file)
|
||||
end
|
||||
["plugins", "chiliproject_plugins"].each do |plugin_path|
|
||||
Dir.glob File.expand_path("../vendor/#{plugin_path}/*/Gemfile", __FILE__) do |file|
|
||||
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||
instance_eval File.read(file)
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue