Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I stumbled recently with the same sort of limitation. Here's what I did. Just go to your sass styleheets directory and create symbolic links to the compass framework source files living in the Compass gem's directory.</p> <p>I assume a couple of things here:</p> <ul> <li>You're using RVM to manage your Ruby versions</li> <li>You're using bundler to manage your Gems</li> <li>You're on a linux or os x based system </li> </ul> <p>If this is not the case fear not! We will find the way.</p> <p>How to find the location of this Gem's Sass source files? just execute:</p> <pre><code>bundle show compass </code></pre> <p>path_to_rvm_files/gems/your_ruby_version@your_gemset/gems/compass-version</p> <p>Of course your path may vary but that's the idea.</p> <p>You should navigate to that directory in which you'll find a directory called frameworks, with some other directories within:</p> <pre><code>... |_compass-xxxxx |_frameworks |_compass |_stylesheets |_compass </code></pre> <p>In the latest one, <strong>compass</strong> is where your important compass files are. So you must create a symlink in your project pointing to that directory, and then your IDe will <em>"figure out where the included or imported stuff is"</em>, so to speak.</p> <p>How to create this symlink? Go on the terminal to the project stylesheets directory and execute:</p> <pre><code>ln -s path_to_rvm_files/gems/your_ruby_version@your_gemset/gems/compass-version/frameworks/compass/stylesheets/compass/ compass </code></pre> <p>Hopefully this will sort out the problem with Compass own variables, mixins and so on.</p> <p>On regards of your custom ones, my advice is to import them all on _base.scss/sass.</p> <p>I use Rubymine myself and this has been my way to go so far.</p> <p>Regards!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload