Commit 11b441f7 authored by Holger Just's avatar Holger Just

Load Gemfiles from vendor/chiliproject_plugins

parent cd0ea44f
...@@ -102,7 +102,9 @@ if File.readable?(gemfile_local) ...@@ -102,7 +102,9 @@ if File.readable?(gemfile_local)
end end
# Load plugins' Gemfiles # Load plugins' Gemfiles
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file| ["plugins", "chiliproject_plugins"].each do |plugin_path|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` Dir.glob File.expand_path("../vendor/#{plugin_path}/*/Gemfile", __FILE__) do |file|
instance_eval File.read(file) puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
end instance_eval File.read(file)
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment