#Troubleshooting Tips
Here are some common issues that people run into and their solutions.
#Undefined mixin theme-colors exception page
You're seeing an exeception page which says
CauseUndefined mixin 'theme-colors'
.This happens when you have a
Solutionrequire_tree
in your application.css
, and you missed the instructions telling you to remove it. require_tree
loads files in a random order and in this case it's loading some of the SCSS files before the file that defines the mixins.- Remove the
require_tree
from yourapplication.css
. - Include an explicit import of RRT:
require rrt
. You might need to add explicit imports for any other files that were previously being automatically included randomly viarequire_tree
- Restart your server for good measure.
#Can't find gem bundler (>= 0.a) with executable bundle
You're seeing an exception being thrown with the message
Causecan't find gem bundler (>= 0.a) with executable bundle
when trying to deploy to Heroku or other environments.You're using a version of Bundler greater than 2.0. Bundler 2.0 introduced several breaking changes and you should be aware of them https://bundler.io/blog/2019/01/03/announcing-bundler-2.html
SolutionImplement the Bundler 2.0 scheme for handling your existing
Gemfile.lock
: https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html