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
|
Hi, I'd like to be able to debug my scss files in the browser using chrome dev tools - which is supported but requires the source map files (not inline source maps) - only supported in sass 3.3 - while the latest workbench works on 3.2.something. Is there a way for me to manually update the Sass gem version used by ww somehow? Thanks, Ehud |
|
|
Yes you can do this by using a custom Ruby installation with Web Workbench. You will want to set up a new Ruby installation somewhere locally and then install the sass 3.3 gem, you may also need to install the Compass gem and sassy-math if thats required. You can then set the path for WW to use to point to that installation by going to Tools/Options/Web Workbench and setting the "Ruby Installation Path" property to point to the bin folder in your install.
|
|
|
Hi, Thanks for the tip Jeremy. So I did what you said and after some compatibility issues got it to compile with the newer sass version, however - still no luck on the source map front. To the best of my knowledge I need the config.rb for my compass installation to contain "sass_options = {:sourcemap => true}". I thought that "include debug info" on the workbench options does that, but apparently it does not. Any suggestions on how to tell compass to produce the source maps? where would the config.rb generated by workbench be located? can/should i override it? Thanks! |
|
|
You have to manually enable Compass for a project with WW, you can do this by right clicking on your project and selecting "Setup Compass Project" on the context menu. After this is done there will be a config.rb in the base directory of your project.
|
|