-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breakpoint without Compass #108
Comments
This has been solved by using Bower but I feel like something could maybe be added to Breakpoint to check for Compass and if Compass is not found then to add Breakpoint automatically to the Sass path so it works in the same way as Susy 2 does. |
@rctneil, what do you mean? Compass is the instrument to make the Breakpoint extension available in your Sass code. How can Breakpoint check for Compass availability before it is itself availalbe? |
We have this code in another extension. I've been meaning to update all of the major extensions with it but haven't yet.
|
Nice. I look forward to it being integrated. Thanks for understanding what I meant. |
But what did you mean? What "code from another extension" is @Snugug talking about? |
Singularity and Toolkit have also been updated, following the lead of Sassy Maps. |
Fantastic. Thankyou, I will give this a shot later. |
@Snugug, i assume you're talking about this code: at-import/Singularity@1a64c4e Does it allow importing a Sass library by its pathless name, e. g. |
@Snugug I've just added Breakpoint 2.4.5 to my gem file and it still states "File to import not found or unreadable: breakpoint." Any ideas? |
Hmm, no, no idea. That code was borrowed from someone who knows Ruby and works in a Ruby enviro, which I don't. I'll look a little deeper, but not sure why it's not working. |
@Snugug To aid debugging, here's the error: File to import not found or unreadable: breakpoint. I'm making a guess that this: |
@lolmaus No joy with that unfortunately. |
@rctneil, how does this line
of the error look like when you use my fix? |
Unless I am thinking on the wrong lines. Doesn't it need to reference the scss file in the stylesheets directory? Maybe i'm wrong. (usually am!) |
@rctneil, it should reference a path to look for Sass files in. Can you please check that the path you referenced exists on your system and contains a |
Oops, my fault this got closed automatically. Sorry for that. |
/breakpoint-2.4.5/lb/stylesheets does not exist. /breakpoint-2.4.5/lib/breakpoint.rb does and |
Just pushed 2.4.6, give that a look |
Submitted a request to fix this. |
I thought to do it this way, but i failed to figure out why a double |
My active pull request here: #110 is working for me. |
@Snugug The wiki docs still say that Compass is required. |
Anychance that someone could help with this issue here: http:https://stackoverflow.com/questions/24963153/breakpoint-in-rails-app about getting Breakpoint to work without Compass?
Thanks,
Neil
The text was updated successfully, but these errors were encountered: