This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I just created a test website in VS 2013 with Web Workbench Pro and installed Zurb Foundation 5, jQuery, etc. and then set up SASS and Compass. I have the latest Web Workbench Pro, and config.rb, configured to compile /sass/Site.scss into /Content/Site.css. (Web Essentials is disabled.) But when Site.css compiles, I get the following error at the top of Site.css: Errno::ENOENT: No such file or directory - C:/Users/jsigerson/Documents/Visual Studio 2013/WebSites/.sass-cache/75fcaf1b4852ceb732871195e41567cc2a7d8997/C%058/Users/jsigerson/Documents/Visual Studio 2013/WebSites/WebSite2/sass/foundation/components/_dropdown-buttons.scssc20150324-1140-jurcb4.lock Looking inside the location identified in the above message, I find a bunch of files including _buttons.scssc, but no .lock file. After dickering around with the Ruby location as described in various other postings, with no result, I took the hint from the error message and simply went into _foundation.scss and commented out this line: // @import "foundation/components/dropdown-buttons" and violĂ ! Site.scss compiled perfectly into /Content/Site.css. Luckily, I don't need dropdown buttons for my current project, but I might need it in the future, so can you tell me whether this is a problem with Web Workbench/Ruby, or with Foundation? |
|
|
Try adding the following to your config.rb and then creating a C:\Temp\sass-cache folder. sassoptions = {:cachelocation => "C:\Temp\sass-cache"} Does that resolve the issue?
|
|
|
Thanks, Jeremy, it does resolve this particular issue, but for the benefit of anyone else, the actual command line inside config.rb needs to read:
But now I've got another problem: The .scss now compiles into .css, but I can't get Workbench to create a minimized version, even though I have it configured to do so both in the general Workbench Options, and in the project config. The closest I got was when I tried moving Ruby to C:\Ruby193 and specifying that path in the Options. In that case, I do get both a .css and a .min.css, however both contain nothing but the following error:
I'm thinking of using gulp to create the minimized .css if I can't get this working with Workbench. The JavaScript compilation and minimization, on the other hand, is working just fine. |
|