Only been one time I was actively trying to kill a bear (it had done some serious damage to the cabin). The rifle I took was my Remington Hepburn "carbine" in .45-90.
I have things that are probably a better choice, but that was the biggest thing I had with me.