lib/pancake/stack/bootloader.rb in pancake-0.1.13 vs lib/pancake/stack/bootloader.rb in pancake-0.1.15

- old
+ new

@@ -17,10 +17,10 @@ # These are not run directly, but are run from inherited stacks Pancake::Stack::BootLoader.add(:load_mounted_inits, :level => :init) do def run! # Mount any stacks this stack may have in it. stack_class.roots.each do |root| - Dir["#{root}/mounts/*/pancake.init"].each{|f| load f if File.exists?(f)} + Dir["#{root}/mounts/*/pancake_init.rb"].each{|f| load f if File.exists?(f)} end end end Pancake::Stack::BootLoader.add(:set_as_master) do