I've done a lot of miles on a bicycle and I feel much, much safer in my tent in bear country than I ever will in the saddle!!!!

The few black bears that bothered my friend's food (his was hung, mine was in a canister) were pretty easily scared away by yelling. The exception is Yosemite Valley, where the bears are so used to people. They can still be scared off, it's just harder.
_________________________
If you only travel on sunny days you will never reach your destination.*

* May not apply at certain latitudes in Canada and elsewhere.