user2945872
user2945872

Reputation: 463

SASS Compass Breakpoint - Including to my project error

I want to include breakpoint into my web project. I have SASS, Compass and breakpoint installed and I followed the installation guide for it, but it still dosen't seem to work correctly. Can anyone walk me through here what the errors might be.

The following code is in my config.rb file (located in project directory, main folder)

require 'breakpoint'

http_path = "/"
css_dir = "css"
sass_dir = "sass"

The following code is located in style.scss (project/sass folder)

@import "breakpoint";

etc scss code...

Here is the error I get from LiveReload:

File to import not found or unreadable: compass.

Syntax error: File to import not found or unreadable: compass. Load path: /private/var/folders/ln/lp7d050s191cgjw1ck1gnq_h0000gn/T on line 4 of project/sass/style.scss Use --trace for backtrace.

Upvotes: 0

Views: 1120

Answers (1)

Snugug
Snugug

Reputation: 2378

Compass extensions tend not to work (or work well) when compiling with a GUI app (such as LiveReload or CodeKit). Instead of using LiveReload for compiling and reloading, just use it for reloading and run your compilation through the command line. You should also put your project under Bundler version control to ensure that the gems you want to use are absolutely available. If you are having load issues, it's because your compiler can't find the gem. Compiling through the command line under Bundler control will ensure the gem is available.

Upvotes: 1

Related Questions