problem precompiling asstets with susy

47 views
Skip to first unread message

Justin Coyne

unread,
Mar 24, 2012, 12:59:25 AM3/24/12
to blacklight-...@googlegroups.com
After following the upgrade guide
https://github.com/projectblacklight/blacklight/wiki/Blacklight-3.3-release-notes-and-upgrade-guide

I run bundle install and rake precompile:assets. Now I'm getting this error:


File to import not found or unreadable: susy.
Load paths:
Sass::Rails::Importer(/opt/narm-ingest/app/assets/stylesheets/blacklight_themes/standard.css.scss)
/opt/narm-ingest/app/assets/stylesheets
/usr/local/rvm/gems/ree-1.8.7-2011.03@narm/gems/compass-0.12.1/frameworks/blueprint/stylesheets
/usr/local/rvm/gems/ree-1.8.7-2011.03@narm/gems/compass-0.12.1/frameworks/compass/stylesheets
Compass::SpriteImporter
(in /opt/narm-ingest/app/assets/stylesheets/blacklight_themes/standard.css.scss)

Tasks: TOP => assets:precompile:primary


Has anyone seen this before?


Justin

Justin Coyne

unread,
Mar 24, 2012, 1:22:23 AM3/24/12
to Blacklight Development
I also noticed that we have this in the blacklight generator
templates:
@import 'blacklight/grids/susy';

https://github.com/projectblacklight/blacklight/blob/master/lib/generators/blacklight/templates/assets/standard.css.scss#L15

Is that one of those lines that should be changed per directive #4 of
the upgrade guide?

-Justin


On Mar 23, 11:59 pm, Justin Coyne <justin.co...@yourmediashelf.com>
wrote:
> After following the upgrade guidehttps://github.com/projectblacklight/blacklight/wiki/Blacklight-3.3-r...

Justin Coyne

unread,
Mar 24, 2012, 1:41:00 AM3/24/12
to Blacklight Development
I found that adding this to my Gemfile fixed it (the require part was
not in the guide):

gem 'compass-susy-plugin', '~> 0.9.0', :require => 'susy'

Also I had to use:
@import 'blacklight/grids/susy';

counter to what was indicated. Should the upgrade guide be updated to
reflect this?

-Justin

> --
> You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
> To post to this group, send email to blacklight-...@googlegroups.com.
> To unsubscribe from this group, send email to blacklight-develo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/blacklight-development?hl=en.
>

James Stuart

unread,
Mar 24, 2012, 3:18:54 AM3/24/12
to blacklight-...@googlegroups.com
I'll look into this on Monday. I think my natural testing rhythm (or
maybe our testing suite) needs to include some compiled on examples.

On Sat, Mar 24, 2012 at 1:41 AM, Justin Coyne

Reply all
Reply to author
Forward
0 new messages