Like everyone else is saying, check your diet. I use Caloriecount, which is a pretty sweet diet logging website.
If you weigh 145 and can't gain weight, make SURE you are snacking a solid 3000 calories a day. Maybe a 40/35/25 carb/protein/fat split.
Eggs, oats, multigrain toast with some PB...