Load AV::Layout to AM::Base in railties
Include AV::Layouts before setting view_paths