@@ -99,7 +99,7 if File.exists?(local_gemfile) | |||
|
99 | 99 | end |
|
100 | 100 | |
|
101 | 101 | # Load plugins' Gemfiles |
|
102 | Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file| | |
|
102 | Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file| | |
|
103 | 103 | puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v` |
|
104 | 104 | #TODO: switch to "eval_gemfile file" when bundler >= 1.2.0 will be required (rails 4) |
|
105 | 105 | instance_eval File.read(file), file |
General Comments 0
You need to be logged in to leave comments.
Login now