compass compile error

2,578 views
Skip to first unread message

Paul

unread,
Jun 12, 2011, 1:05:10 AM6/12/11
to Compass
Hi im having trouble compiling scss file. I am following a basic
getting sassy with css tutorial (http://www.sencha.com/blog/getting-
sassy-with-css) and keep receiving this error: You must compile
individual stylesheets from the project directory.

My setup is Windows XP pro and have RubyInstaller 1.9.2p180 installed,
so I should be good to go.

I am following the tut, and have created a dir:
C:\
myproject
-css
-sass/buttons.scss
/config.rb
index.html

Start Command Promt with Ruby:
ruby 1.9.2p180 <2011-02-18> [i386-ming32]

c:\>gem install haml
c:\>gem install compass

c:\>compass compile myproject/sass/buttons.scss

You must compile individual stylesheets from the project directory

Im new to Sass (obviously) and just cant work this out, so really need
some help! Anyone, Thanks Paul

Chris Eppstein

unread,
Jun 12, 2011, 2:52:34 AM6/12/11
to compas...@googlegroups.com
With compass you generally make a "project" first and then compass will compile/watch all your css files when you run it:

compass create my_project
<create my_project/buttons.scss>
cd my_project
compass compile


chris


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.


Paul Kilroy

unread,
Jun 13, 2011, 7:48:46 AM6/13/11
to compas...@googlegroups.com
Thanks alot Chris, helped me get started, although I dont need to to create a project just cd and set the right path to dir and sass folder (not the file) and compass compile.
Reply all
Reply to author
Forward
0 new messages