[#290] Only print the plugin Gemfile messages when $DEBUG is set
This commit is contained in:
parent
68925684fe
commit
cff4e83044
2
Gemfile
2
Gemfile
@ -65,6 +65,6 @@ end
|
|||||||
|
|
||||||
# Load plugins' Gemfiles
|
# Load plugins' Gemfiles
|
||||||
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
|
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
|
||||||
puts "Loading #{file} ..."
|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||||
instance_eval File.read(file)
|
instance_eval File.read(file)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user