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