I am using twitter-bootstra-rails gem in my Rails app.
Here is how my manifest (application.css) looks:
*= require_self
@import bootstrap_and_overrides;
*= require dataTables/jquery.dataTables.bootstrap3
*= require_tree .
*/
However, when trying to use a variable like this:
color: @brand-success;
I get:
Invalid CSS after " color: ": expected expression (e.g. 1px, bold), was "@brand-success; "
What am I missing? In the docs it says:
If you are using SASS to compile your application.css (e.g. your manifest file is application.css.sass or application.css.scss) you may get this:
Invalid CSS after "*": expected "{", was "= require twitt..." (in app/assets/stylesheets/application.css) (sass)
If this is the case, you must use @import instead of *= in your manifest file, or don't compile your manifest with SASS.