Cal, I don't have it installed in my static folder, I have the gem installed and I was under the impression that Sass could find the installed libraries, which I guess I was mistaken.
What would be your recommended tool? Django-Pipeline or Compressor? Or maybe another? I was trying Compressor at first and had the same issue and thought it might have been related to the way it handled Sass. I have the newest version of Node installed on my vagrant environment but I'm considering taking a look into nodeenv. I'm trying to use three libraries in particular Bourbon, Compass and Breakpoint with Django (and I've heard of Neat and chose to use Jeet[1] instead.) Thanks for the help, Wellington On Thursday, May 22, 2014 8:08:42 AM UTC-6, Cal Leeming [Simplicity Media Ltd] wrote: > > Hi Willy, > > Do you have Bourbon installed in your static folder? If not, you'll need > to install the bourbon/compass/sass node packages (see below), or you can > download a precompiled dist from the source of each, for example see [1]. > > If you go down the node packages route, be aware, not even the latest > bleeding edge version of Ubuntu will allow to use the most up to date > bourbon/compass/sass node packages. You will almost certainly want to use a > local node install, either through a tool such as nodeenv [2] which re-uses > your existing virtualenv, or manually patch your .bashrc to use a locally > installed node binary [3]. > > It's also worth mentioning that although django-pipeline is quite awesome, > it can also be quite limited. > > One last thing, check out Bourbon Neat [4]. > > Hope this helps > > Cal > > [1] https://github.com/thoughtbot/bourbon/tree/master/dist > [2] https://github.com/ekalinin/nodeenv > [3] https://github.com/creationix/nvm > [4] http://neat.bourbon.io/ > > > > On Thu, May 22, 2014 at 7:29 AM, Willy <willy...@gmail.com > <javascript:>>wrote: > >> I'm trying to use Sass and Sass Libraries with Django-Pipeline but my >> @import directives always error out saying they can't find the libraries I >> have installed. >> >> Here is my settings file https://gist.github.com/43b0e4d5c93b943d9760 >> >> Then I have my scss file trying to do >> >> @import 'bourbon'; >> @import 'compass'; >> @import 'breakpoint'; >> >> and it will fail showing this error. >> https://gist.github.com/28e617581fa198a8690d >> >> Has anyone setup a Django project that's been able to properly import >> Sass libraries and if so how would you best do that? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users...@googlegroups.com <javascript:>. >> To post to this group, send email to django...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/a7fa8151-f216-4e2c-9b23-2f5628a63e8a%40googlegroups.com<https://groups.google.com/d/msgid/django-users/a7fa8151-f216-4e2c-9b23-2f5628a63e8a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/335c90d4-d8ca-4d26-b0b7-255ae73b1d22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.