Back when I was weak I ate everything in sight and gained a ton of muscle. At a certain point, I began gaining mainly fat and stopped. I ate a lot of clean food, and about one fast food meal per day. I ate a lot of baked potatoes, hamburgers, beef sandwhiches, orange juice, french fries, everything. I had no clue about nutrition at this point.
If leanness is important, this is definitely not the best way. If you are trying to build a foundation and have a hard time putting on muscle, however, this is a good way to start. Just make sure you start when most of your gains turn into fat. At this point a dieting period will set your body up for more gains. Your body likes to take breaks in gaining muscle, so you might as well cut at this point.
If you are looking for an intelligent way to bulk, look up Negrita Jayde's carbohydrate plan. She suggests eating a variety of carbs at every meal to maximize anabolism throughout the day. Look her up on google. For instance, eat two starches and some high GI carbs at every meal along with some protein. Try a baked potato, steak, and a meal replacement shake at every meal or something along those lines. Sustained insulin release and growth is the key here.