If you want to gain weight while training I would recommend the If It Fits Your Macros diet (http://iifym.com) and eating about 500 cals above you total daily energy expenditure (TDEE) coupled with a decent, tried and tested weight training program that incorporates progressive overload. Take a look at the FAQ on http://reddit.com/r/fitness