11004 Posts in 2735 Topics by 1824 members
|Go to End|
2 December 2011 at 8:42am
I'm running Silverstripe on MAMP on Lion, but I guess I'm doing something wrong.
I managed to run sapphire/sake dev/compass/convert --theme=foo, which worked, but I want to use SCSS rather than SASS.
I used http://css2sass.heroku.com/ tool to convert my css to scss, placed them into the sass/ folder and put:
into the config.rb file.
However I get the following message when I go to dev/compass/rebuild:
[User Error] Compass Error:Nothing to compile. If you're trying to start a new project, you have left off the directory argument.Run "compass -h" to get help.
Additionally if I go to: dev/compass I get another error:
[User Error] Uncaught Exception: Object->__call(): the method 'index' does not exist on 'Compass'
These errors happen both through the browser and through the terminal.
I'm sure it's something really simple! But if someone could help me out of my misery.
7 December 2011 at 12:13am
Just bumping in case anyone has any ideas?
I ended up using compass through the terminal watching a folder, but it would be more convenient if the module worked.
13 December 2011 at 9:17pm
What is the contents of your config.rb?
Also make sure Compass::$syntax = scss for your use case.
16 December 2011 at 11:54am
Hi, thanks, it's now compiling. But I still get the error when I go to dev/compass.
Here's the config.rb
http_path = "/"
css_dir = "css"
sass_dir = "scss"
images_dir = "images"
output_style = :expanded
|Go to Top|