Problem Loading Gem on specific branch when other branches work fine



On one specific branch I am having trouble with the colored gem which is a dependency of the fastlane gem. All other branches work fine. This problem is showing up for the first time this morning.

bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
LoadError: cannot load such file -- colored

I suspect it may have something to do with cached gems - but that is purely speculation.

Does anyone have any insight as to why this is happening and/or how to go about fixing it?


For the record, doing a “Rebuild without cache” solved the problem.