Compass --watch issue

17 views
Skip to first unread message

ravenna

unread,
Nov 22, 2009, 1:53:38 AM11/22/09
to Compass
I am using Spree, the RoR ecommerce app and it comes preloaded using
Compass, Sass and Blueprint. Running compass --watch returned the
following error.

roy-sherrills-macbook-pro:testcart tjs$ compass --watch --trace
>>> Compass is watching for changes. Press Ctrl-C to Stop.
FSSM::FileNotFoundError on line 84 of /usr/local/lib/ruby/gems/1.8/
gems/chriseppstein-compass-0.8.17/lib/vendor/fssm/path.rb: /Users/tjs/
Sites/testcart/src
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
vendor/fssm/path.rb:3:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
vendor/fssm/monitor.rb:8:in `new'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
vendor/fssm/monitor.rb:8:in `path'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/watch_project.rb:26:in `perform'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/watch_project.rb:25:in `each'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/watch_project.rb:25:in `perform'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
vendor/fssm.rb:19:in `call'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
vendor/fssm.rb:19:in `monitor'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/watch_project.rb:24:in `perform'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/base.rb:15:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/commands/project_base.rb:19:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/exec.rb:242:in `do_command'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/exec.rb:57:in `perform!'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/
compass/exec.rb:40:in `run!'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/bin/
compass:8
/usr/local/bin/compass:19:in `load'
/usr/local/bin/compass:19

After digging around I found the following command which appears to
set the paths...
compass --watch --sass-dir sass/ --css-dir /compiled

Is there any way to set this up so that I don't need the long command
to setup the watch?

thanks

Chris Eppstein

unread,
Nov 23, 2009, 1:04:48 AM11/23/09
to compas...@googlegroups.com, Compass
You don't need compass to compile your stylesheets in a rails app.
Compass configures the sass plugin to find the compass libraries and
extensions as part of the application boot. The css will get compiled
when it changes the next time you make a page request.

Hunt & pecked on my iPhone... Sorry if it's brief!
> --
>
> 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=
> .
>
>

ravenna

unread,
Dec 4, 2009, 12:47:42 AM12/4/09
to Compass
Chris,

thanks for the response. The issue was in the fact that I wasn't
specifying the --sass-dir and the --css-dir... thanks


On Nov 22, 10:04 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> You don't needcompassto compile your stylesheets in a rails app.  Compassconfigures the sass plugin to find thecompasslibraries and  
> extensions as part of the application boot. The css will get compiled  
> when it changes the next time you make a page request.
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>
> On Nov 21, 2009, at 10:53 PM, ravenna <t...@ravennainteractive.com> wrote:
>
>
>
> > I am using Spree, the RoR ecommerce app and it comes preloaded using
> >Compass, Sass and Blueprint.  Runningcompass--watchreturned the
> > following error.
>
> > roy-sherrills-macbook-pro:testcart tjs$compass--watch--trace
> >>>>Compassis watching for changes. Press Ctrl-C to Stop.
> >compass--watch--sass-dir sass/ --css-dir /compiled
>
> > Is there any way to set this up so that I don't need the long command
> > to setup thewatch?
>
> > thanks
>
> > --
>
> > You received this message because you are subscribed to the Google  
> > Groups "Compass" group.
> > To post to this group, send email tocompa...@googlegroups.com.
> > To unsubscribe from this group, send email tocompass-use...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages