# Problem Loading Gem on specific branch when other branches work fine

**URL:** <https://discuss.circleci.com/t/problem-loading-gem-on-specific-branch-when-other-branches-work-fine/7800>\
**Category:** Build Environment\
**Tags:** ruby, fastlane, rubygems, ios\
**Created:** [November 1, 2016, 2:48pm UTC](https://discuss.circleci.com/t/problem-loading-gem-on-specific-branch-when-other-branches-work-fine/7800 "2016-11-01T14:48:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnhaitas-icitizen](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/johnhaitas-icitizen/32/9993_2.png) [@johnhaitas-icitizen](https://discuss.circleci.com/u/johnhaitas-icitizen)\
**Post date:** [November 1, 2016, 2:48pm UTC](https://discuss.circleci.com/t/problem-loading-gem-on-specific-branch-when-other-branches-work-fine/7800/1 "2016-11-01T14:48:24Z")

</div>

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.

```auto
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?

---

<div class="post-metadata">

**Author:** ![johnhaitas-icitizen](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/johnhaitas-icitizen/32/9993_2.png) [@johnhaitas-icitizen](https://discuss.circleci.com/u/johnhaitas-icitizen)\
**Post date:** [November 1, 2016, 3:08pm UTC](https://discuss.circleci.com/t/problem-loading-gem-on-specific-branch-when-other-branches-work-fine/7800/2 "2016-11-01T15:08:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/problem-loading-gem-on-specific-branch-when-other-branches-work-fine/7800/3 "2018-06-18T11:38:50Z")

</div>


