drupal 7 - Compass error: File to import not found or unreadable: breakpoint -


for unknown reasons drupal omega 4 subtheme dev environment stopped working of sudden. have narrowed problem down compass issue:

 % compass watch >>> compass watching changes. press ctrl-c stop.     error sass/layouts/sidebar/sidebar.layout.scss (line 3: file import not found or unreadable: breakpoint. load paths:   compass::spriteimporter   /home/<myproject>/public_html/sites/all/themes/<myproject-theme>/sass   /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/compass-core-1.0.3/stylesheets   /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/compass-normalize-1.5/stylesheets   /usr/share/rvm/gems/ruby-2.2.1@omega.<myproject-theme>/gems/susy-2.2.5/sass)     error sass/layouts/sidebar/<myproject>-sidebar.layout.scss (line 4: file import not found or unreadable: breakpoint. 

guard running without errors not compiling on scss file changes.

% guard start -i 07:25:07 - info - guard watching @ '/home/<myproject>/public_html/sites/all/themes/<myproject-theme>' 

i tried emptying gemset with

rvm gemset empty

and reinstalling bundler

bundle install

i have used instructions here setting environment:

https://www.drupal.org/node/1936970

i have .ruby-version file in project folder specifying version 2.2.1.

all appreciated.

the problem missing config.rb file compass needs compile sass files.

now compass reports ready action:

 % guard start -i  07:27:21 - info - guard::compass waiting compile stylesheets. 07:27:21 - info - guard watching @ '/home/<myproject>/public_html/sites/all/themes/<myproject-theme>' 

i must have deleted mistake - , since included in .gitignore, had no way of knowing this.

lesson learned: not exclude config.rb in .gitignore!


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -