Susy issue

61 views
Skip to first unread message

john pillans

unread,
May 3, 2012, 1:56:43 PM5/3/12
to blacklight-...@googlegroups.com
Install ing 3.4.1 and getting the following error:

ActionView::Template::Error (File to import not found or unreadable: blacklight/grids/susy.
Load path: /opt/blacklight-vanilla
  (in /opt/blacklight-vanilla/app/assets/stylesheets/blacklight_themes/standard.css.scss)):
    4:     <title><%= h(@page_title || application_name) %></title>
    5:     <link href="<%= opensearch_catalog_path(:format => 'xml', :only_path => false) %>" title="<%= application_name%>" type="application/opensearchdescription+xml" rel="search"/>
    6:     <%= favicon_link_tag asset_path('favicon.ico') %>
    7:     <%= stylesheet_link_tag    "application" %>
    8:     <%= javascript_include_tag "application" %>
    9:     <%= csrf_meta_tags %>
    10:     <%= raw(render_head_content) %>
  app/assets/stylesheets/blacklight_themes/standard.css.scss:16


Searched the archives and believe I have tried the solution(s) as mentioned.  Any other instructions as to how to resolve this?

Thanks

John Pillans
Indiana University


James Stuart

unread,
May 3, 2012, 2:10:37 PM5/3/12
to blacklight-...@googlegroups.com
So is this off a quickstart?

--
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.

john pillans

unread,
May 3, 2012, 2:17:17 PM5/3/12
to blacklight-...@googlegroups.com
I did the install and that is what is in my logs.  Had the same issue with 3.4.0.  Notice the 3.4.1 was there so reinstalled.

Justin Coyne

unread,
May 3, 2012, 2:20:10 PM5/3/12
to blacklight-...@googlegroups.com
Can you verify that you have a file called config/compass.rb and it's
contents are:

require 'susy'
project_type = :rails


Regards,
Justin

john pillans

unread,
May 3, 2012, 2:25:40 PM5/3/12
to blacklight-...@googlegroups.com
Yes I do have the file.

Thanks

John

Justin Coyne

unread,
May 3, 2012, 2:33:57 PM5/3/12
to blacklight-...@googlegroups.com
In your Gemfile do you have this line:

gem 'compass-susy-plugin', '~> 0.9.0'

-Justin

john pillans

unread,
May 3, 2012, 2:46:47 PM5/3/12
to blacklight-...@googlegroups.com
Have this:

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

Added the :require per email I found in archive.  The rest was added during the generate.

Justin Coyne

unread,
May 3, 2012, 2:59:52 PM5/3/12
to blacklight-...@googlegroups.com
The :require => 'susy' would only be helpful if your rails application
didn't find the config/compass.rb file. That's why it worked for me,
because the file was in the wrong location.

Try taking it out of the assets group temporarily. Any difference?

-Justin

john pillans

unread,
May 3, 2012, 3:06:28 PM5/3/12
to blacklight-...@googlegroups.com
Same problem.  My assumption is, like other cases, that if the file isnt in my application, it will pick it up from the gem?  Or did I miss a step?
Reply all
Reply to author
Forward
0 new messages