[susy] Moving from blueprint to susy, not rails project

66 views
Skip to first unread message

Leonardo Picado O.

unread,
Jan 31, 2012, 1:40:21 AM1/31/12
to Compass
I tried ditching Blueprint in an already existing Compass installation
by creating a _grid.scss file and declaring the following:

1 @import "susy";
2
3 $total-cols : 12;
4 $col-width : 4em;
5 $gutter-width : 1em;
6 $side-gutter-width : $gutter-width;
7
8 $show-grid-backgrounds : true;

Then adding:
require 'susy'

In my config.rb file, called the _grid.scss file from my screen.scss
file but never seem to get it working.

Is this a known issue, is there a way around creating a new project
with Susy from scratch?

PD: This is the output of the console
compass watch myproject/assets/
>>> Change detected to: screen.scss
error myproject/assets/src/screen.scss (Line 1: File to import not
found or unreadable: susy.
Load paths:
/var/www/myproject/assets/src
/var/lib/gems/1.8/gems/compass-0.11.5/frameworks/blueprint/
stylesheets
/var/lib/gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter)
overwrite myproject/assets/css/screen.css
>>> Compass is watching for changes. Press Ctrl-C to Stop.
>>> Change detected to: _grid.scss
overwrite myproject/assets/css/screen.css
>>> Change detected to: screen.scss
error myproject/assets/src/screen.scss (Line 3: File to import not
found or unreadable: susy.
Load paths:
/var/www/myproject/assets/src
/var/lib/gems/1.8/gems/compass-0.11.5/frameworks/blueprint/
stylesheets
/var/lib/gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter)
overwrite myproject/assets/css/screen.css

Eric Meyer

unread,
Feb 2, 2012, 3:28:42 PM2/2/12
to compas...@googlegroups.com
Hi Leonardo,

I've seen things like this before, but it doesn't seem to be related to anything specific to Susy. I can answer any questions you have about the sass side of things with Compass or Susy, but when it comes to the ruby and installation questions, I'm out of my league. Unfortunately, there's on one else on the Susy team. :)

Sorry I'm not more helpful. Anyone here with more knowledge of the compass/plugin inner-workings want to take this on?

Cheers,
Eric

Chris Eppstein

unread,
Feb 2, 2012, 4:17:23 PM2/2/12
to compas...@googlegroups.com
Seems like this is needed in the compass config file:

require 'susy'


-chris


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To view this discussion on the web visit https://groups.google.com/d/msg/compass-users/-/GXUQ7WwnnNAJ.

To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.

Ian

unread,
Feb 2, 2012, 4:27:51 PM2/2/12
to Compass
Where do you have your config.rb file placed? Is it in the assets/
directory? If not then move it in there stop the watch, move it there,
and then restart the watch and try it again.

Leonardo Picado

unread,
Feb 2, 2012, 5:37:52 PM2/2/12
to compas...@googlegroups.com
Hi Chris and Ian

Chris yes I did have that in my config.rb file

Ian that's correct too, the config.rb file was under assets/

--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.




--
Leonardo Picado: Advertiser | Programmer | UI Developer
www.leonardopicado.com  |  m...@leonardopicado.com

Ian

unread,
Feb 3, 2012, 2:50:49 AM2/3/12
to Compass
and you have two folders: "src" and "css" in assets/ where src/ is
your scss and css/ is your output?

I know this is probably obvious but just to check that you are also
importing compass before susy in screen.scss

Ian

Chris Colman

unread,
Feb 8, 2012, 8:54:15 PM2/8/12
to compas...@googlegroups.com
Has anyone used Foundation Grid with Compass?

Are there any Compass mixin libraries for Foundation Grid?

Chris Colman

Chris Colman

unread,
Feb 8, 2012, 10:50:44 PM2/8/12
to compas...@googlegroups.com
Stupid question! I found it on Git and it can be installed with:

gem install compass-foundation

Regards,
Chris Colman

>--
>You received this message because you are subscribed to the Google
Groups
>"Compass" group.
>To post to this group, send email to compas...@googlegroups.com.
>To unsubscribe from this group, send email to compass-

>users+un...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages