Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sassystudio and compass compile error #78

Open
danielnyborg opened this issue Apr 20, 2015 · 2 comments
Open

Sassystudio and compass compile error #78

danielnyborg opened this issue Apr 20, 2015 · 2 comments

Comments

@danielnyborg
Copy link

Hi,

I'm trying to use Sassystudio and compass for SASS references like @import "compass/CSS3"

However on compile I keep getting the following error:

08:12:01.288 : Failed to compile css.
[SassCompileException]C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss:152: named arguments must precede variable-length argument

at LibSassNet.SassCompiler.CompileFile(String inputPath, OutputStyle outputStyle, String sourceMapPath, Boolean includeSourceComments, Int32 precision, IEnumerable`1 additionalIncludePaths)
at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.Compile(FileInfo source, FileInfo output)
at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<>c__DisplayClass3.b__2()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SassyStudio.Editor.GenerateCssOnSave.d__14.MoveNext()

Any idea of what is causing this? Thanks!

@darrenkopp
Copy link
Owner

It looks like you are using the default compiler, which I don't think support compass the last time I checked (compass uses many non-sass functions that are defined in ruby). Have you tried putting your ruby path into the options of SassyStudio (which causes it SassyStudio to then use the compass compiler)?

Tools > options > sassy studio > ruby path should be set to c:\Ruby22.

@danielnyborg
Copy link
Author

Yeah, i've tried using the following:

"c:\Ruby22", causing:
Error: File to import not found or unreadable: compass/CSS3.

"c:\Ruby22\bin", causing:
10:17:07.704 : Failed to compile css.
[SassCompileException]C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-core-1.0.0/stylesheets/compass/_support.scss:152: named arguments must precede variable-length argument

Here's my current configurations:

sassy-config

Appreciate any insights you may have on the issue - thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants