I found this on The North American Bear Center web site.
Quote:Spray more effective than guns against bears: study
Guns were effective only 67 per cent of the time because shooting accurately during a grizzly charge is difficult, and it takes an average of four hits to kill a charging grizzly bear.
Most of the incidents involved grizzlies. The remainder involved black bears and polar bears.
The research dealt with concerns that wind can interfere with accuracy and can blow the spray back on the user. In 71 incidents studied, wind interfered with accuracy 5 times, caused minor irritation to the user 10 times, and caused near incapacitation twice. The spray was used at an average distance of 12 feet.
There were no reports of the spray malfunctioning unless one considers 11 additional incidents where it was applied to objects like tents. When used in that way, the spray attracts bears to roll in it.
Smith et al. concluded that bear spray is an effective alternative to lethal force.
Reference
Smith, T. S., S. Herrero, T. D. DeBruyn, and J. M. Wilder. 2008. Efficacy of bear deterrent spray in Alaska. J. Wildl. Manage. 72(3): 640-645.
Sounds like pepper spray is the best thing to carry.
North American Bear Center