ruby on rails 3 - IntelliJ 12 won't pull in Sass variables -


I have a very basic ruby ​​on the establishment of the rail I installed the bootstrap-sass gem Is, in the 'bootstrap-sass' ~ & gt; 2.3.1.0 In my jam file and ran bundle install restart all the applications I have a style.css.scss file in the app & gt; Property & gt; Stylesheets which @imports 'bootstrap'; Also, those styles are actually dragged into my app because they do front-end style, however, when I try to use a variable or a mixin, then in the image I Error, as well as IntelInage telling me that it can not detect variable I'm new to this whole process, so I'm trying to understand what is needed to solve it.

I am using Ruby 2.0.0 and Rail 3.2.13 RC2

  @import "Bootstrap"; Body {padding-top: 60px; } @import 'bootstrap-responsive'; .footer {margin-top: 50px; Color: $ Graylight; A {color: # e5e5e5; }}   

Without using variables here, there is a link to Live Dev site at Heruco:

Edit: In my vendor / Property / stylesheet folder, no bootstrap folder or _maxines or _variables files are not installed when i have placed gems in Gemfile and installed a bundle?

, but your ruby ​​in any .gem file is located somewhere inside the installation. "Itemprop =" text ">

I recently installed a similar application Key, following. I have 2 .css.scss files, which are, and which are included in the second (which are not directly related to bootstrap). If you look at the second file, you can see that I've imported bootstrap / variables because I need access to some variables of bootstrap, and it works like a magic .

I do not understand why your original screenshot complains about the name variable , which I can not see in your SCSS file ... instead you Have tried bootstrap / variables ?

Edit:

I cloned your repo, started the server and cut style.css.scss . I think you have made a typo in your tests :)

  h1 {color: $ graylight; / * Does not work !! * / Color: $ Graylight; / * Works :) * /}    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -