For several months now, I have been smoothly using sass and compass on this computer without any problems.
Consistently, my config.rb and sass directories have always been organized in the same way, across all of my projects.
However, recently I encountered an issue while building the sass code in Sublime. The error message that popped up was:
Sass::SyntaxError: File to import not found or unreadable: compass.
The initial line in my .scss file includes @import "compass";
, leading me to see this error in Terminal:
error sass/style.scss (Line 36 of _vertical_rhythm.scss: Incompatible units: 'px' and 'em'.)
I have been scouring through various resources for days, coming across some solutions related to the vertical-rhythm conflict, but nothing quite matches my exact problem. As a result, a solution has continued to elude me.
Currently, my compass version stands at 0.12.5 (Alnilam) and my sass version is 3.3.4 (Maptastic Maple).
Interestingly, when working in the office, everything compiles successfully with the identical files from the same GitHub repository. I plan to verify the versions of compass and sass being used at work tomorrow; however, until then, I remain puzzled by this perplexing issue.
Any suggestions or similar experiences from others? Has anyone else encountered a similar situation?