Unless you have a gun of sufficient caliber to deal with a bear, and sufficient confidence and experience to use said gun when a bear is seconds away and charging madly with teeth bared, you are far, far better off taking bear spray. You don't need to precisely aim while adrenalin is rushing through your body and your hands are shaking and every cell is yelling to run! to use bear spray.
_________________________
"In the beginner's mind there are many possibilities. In the expert's mind there are few." Shunryu Suzuki

http://hikeandbackpack.com