Reviewed & tested by the community
Project:
Compass stylesheet tool
Version:
7.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 14:05 UTC
Updated:
28 Mar 2013 at 03:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
5t4rdu5t commentedAfter long hours of debugging, trial and error, I've made this work on Windows 7!
Here's a patch for HEAD revision of the module, and a screenshot of the settings page I'm using.
To install Compass I've followed the simple instructions shown on http://www.ladysign-apps.com/blog/code/css/installing-sass-compass-for-o.... Only thing is in windows you don't use "sudo" for commands. :)
I needed to restart my computer after installing ruby/gems/compass to get the ruby bin dir included into %PATH%.
Apart from the compass module modifications, everything else worked pretty much out of the box.
Comment #2
5t4rdu5t commentedForgot to mention the module's version I'm using is 6.x-1.0-beta3.
Comment #3
eigentor commentedI tried to get this to work (Drupal 7 version of the module) on Windows as well. The patch from 5t4rdu5t should work for D7 with a minor reroll. As far as I can see, the compass.inc has hardly changed in the Drupal 7 version at all. So I applied the patch manually.
Still I did not get it to work, as I have the even worse situation that I installed Ruby inside Cygwin, and cygwin inside the "Program Files" directory (silly me). So I even got spaces in the patch to compass.bat, I found no way of passing the spaces to the module, no "Program Files" or 'Program Files' did the trick.
Comment #4
eric.chenchao commentedTry to use double quotes to quote the whole path in windows.
For example: "C\Program Files\path to your folder"
Comment #5
oliver huynh commentedThe patch runs well. Thanks!