I'm encountering a strange error that only shows up in my CI environment. This error doesn't occur in development, production, or local test environments.
ActionController::RoutingError: No route matches [GET] "/fonts/bootstrap/glyphicons-halflings-regular.svg"
You can find the full trace here
In development and production environments, successful requests go to
/assets/bootstrap/glyphicons-halflings-regular.woff
. The difference lies in /fonts/
changing to /assets
and the file extension from svg
to woff
. All errors are being generated by JavaScript-enabled tests (Poltergeist/PhantomJS driver). Regular Capybara tests are passing without issues. Chrome DevTools indicate that the font file request is coming from jquery.js, not the page or CSS file.