Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Not able to create new project with compass using susy. #296

Closed
fusionstrings opened this Issue · 18 comments

7 participants

@fusionstrings

I am getting following error while trying to create a new project with compass using susy. I am using compass (1.0.0.alpha.18), sass (3.3.0.rc.3) and susy (2.0.0.rc.1).

Without susy compass creates new project successfully though.
image

@ericam
Owner

That looks like a Compass issue to me.

@fusionstrings

Yes it does but other hand compass is able to scaffold new project as compass create <project name >.

@ericam
Owner

no difference with/without -u or -r?

@fusionstrings

Just tried compass create <project name> -r susy it ran successfully and created the project and require 'susy' is added in config.rb. But then it does not create default sass files where initial susy variables are declared. compass create <project name> -r susy -u susy and compass create <project name> -u susy still fail.

@adambalee

I'm having the exact same problem, and I'm running the same gem versions as fusionstrings. Really looking forward to trying Susy 2. Any help would be much appreciated.

@ericam
Owner

I'm not really an expert on how the compass command line works. I'll try to get some attention from Chris or Scott on the compass team.

@scottdavis

Are both of you using windows?

@adambalee

I'm using OS X Mavericks.

@fusionstrings

I am using Windows 7 Pro

@nicholasvc

I'm having this issue too, it's ok to "compass create -r susy", but then, i can not use susy because "Undefined mixin", susy only works if i switch syntax to susyone (@import "susyone"). I'm using ubuntu 12.04

P/s: if i use @import "susy/language/susy", i can use new susy syntax, maybe i messed up when installing.

@ericam
Owner

@nicholasvc That sounds like a different issue. What mixin is "undefined" when you import "susy"? Can you find the Susy file structure, and see if _susy.scss is missing from the root sass directory?

@nicholasvc

I tested with container (mixin and function), span, layout, and all of them didn't work, only susyone mixins worked.
I'm a designer, i'm a newbie to this, so what do you mean by "root sass directory" ? Is it gems\susy-2.0.0.rc.1\sass folder ? In that case, it's not missing.

P/s: ok, it's kinda weird, in gems\susy-2.0.0.rc.1\sass folder, i rename _susy.scss to _susytwo.scss, and in my project's scss file, i @import "susytwo", and it works.

@pprince
@nicholasvc

@pprince : Thank you ! i do have susy.scss file in my project, after changing its name, everything's fine.

@ericam
Owner

I found the problem. I think it is a Compass bug, but I was able to fix it on our end: e16da76. Upgrade to the new release candidate (rc.2) and it should all work. Thanks for you patience!

@ericam ericam closed this
@EmmyBN

Hi Eric

I know you already closed this issue but I'm running into the same problem. I've tried everything but it doesn't seem to work. These are the versions I've installed:

Compass 1.0.1
Susy 2.1.3
Sass 3.4.9

And this is the error that I get:

C:\Users\EmmyBN\Desktop\minco-dev>middleman
WARN: Unresolved specs during Gem::Specification.reset:
rack (< 2.0, >= 1.0, >= 1.4.5)
uber (~> 0.0.4)
activesupport (>= 3.1, ~> 4.1.0)
listen (< 3.0, >= 2.7.9)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
DL is deprecated, please use Fiddle
== The Middleman is loading
C:/Users/EmmyBN/Desktop/minco-dev/config.rb:7:in require': cannot load such file
-- susy (LoadError)
from C:/Users/EmmyBN/Desktop/minco-dev/config.rb:7:in
initialize'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/core_extensions/extensions.rb:162:in instance_eval'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/core_extensions/extensions.rb:162:in
initialize'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/core_extensions/data.rb:33:in initialize'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/application.rb:188:in
initialize'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/core_extensions/request.rb:49:in new'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/core_extensions/request.rb:49:in
inst'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/preview_server.rb:103:in new_app'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/preview_server.rb:21:in
start'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/cli/server.rb:78:in server'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:
27:in
run'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.
rb:126:in invoke_command'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in

dispatch'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440
:in start'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/cli.rb:72:in
method_missing'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:
29:in run'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:
126:in
run'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.
rb:126:in invoke_command'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in

dispatch'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440
:in start'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/lib/middlem
an-core/cli.rb:20:in
start'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/middleman-core-3.3.7/bin/middlem
an:18:in <top (required)>'
from C:/Ruby21/bin/middleman:23:in
load'
from C:/Ruby21/bin/middleman:23:in `

'

I've reinstalled the version of Susy you suggested but I'm still getting the same error. Any ideas on what I could do?

@ericam
Owner

I don't actually understand how this part of Compass works - or how Middleman might effect things. You may get more help from the Compass forum?

I think you can skip this step by doing a manual install. There is almost nothing in the Susy project template, so you can try copying that into a blank compass project yourself.

@EmmyBN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.