This sounds to be more than the hypothetical bear thread
.
Bear repellant is usually high concentration pepper spray and should be quite effective on two-legged assailants; be sure to check it is legal to carry in your area.
If you are worried more about having a car/truck gun, meaning no need for it to be carried much or concealed, I think a 12 gauge shotgun with rifled slugs would be a good choice. Good luck in your decision and don't feed the bears!