##// END OF EJS Templates
Improve plugins' Gemfile loading (#14028)....
Jean-Baptiste Barth -
r11596:ef153a5bca8a
parent child
Show More
@@ -94,5 +94,6 end
94 # Load plugins' Gemfiles
94 # Load plugins' Gemfiles
95 Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
95 Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
96 puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
96 puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
97 instance_eval File.read(file)
97 #TODO: switch to "eval_gemfile file" when bundler >= 1.2.0 will be required (rails 4)
98 instance_eval File.read(file), file
98 end
99 end
General Comments 0
You need to be logged in to leave comments. Login now