I can't reproduce with 3.0.9 or the latest stable. In both cases, #scope
should be included by Sass::Plugin including Haml::Util on line 33.

On Tue, Jun 22, 2010 at 10:29 PM, Gunnar Wolf <[email protected]> wrote:

> Hi,
>
> I got this report against the Haml/Sass Debian package:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586613
>
> It can be reproduced with this (really) minimal test case:
>
>    0 gw...@malenkaya『34』/tmp$ touch empty.scss
>    0 gw...@malenkaya『35』/tmp$ sass --watch empty.scss:empty.css
>    >>> Sass is watching for changes. Press Ctrl-C to stop.
>         create empty.css
>    NoMethodError: undefined method `scope' for Sass::Plugin:Module
>      Use --trace for backtrace.
>    1  gw...@malenkaya『36』/tmp$ sass --watch empty.scss:empty.css --trace
>    >>> Sass is watching for changes. Press Ctrl-C to stop.
>      overwrite empty.css
>    /usr/lib/ruby/1.8/sass/plugin.rb:146:in `watch': undefined method
> `scope' for Sass::Plugin:Module (NoMethodError)
>                                            from
> /usr/lib/ruby/1.8/haml/exec.rb:435:in `watch_or_update'
>                                            from
> /usr/lib/ruby/1.8/haml/exec.rb:347:in `process_result'
>                                            from
> /usr/lib/ruby/1.8/haml/exec.rb:42:in `parse'
>                                            from
> /usr/lib/ruby/1.8/haml/exec.rb:22:in `parse!'
>                                            from /usr/bin/sass:8
>
> Of course, sass does think it knows what to do with --watch:
>
>    $ sass --help
>    Usage: sass [options] [INPUT] [OUTPUT]
>
>    Description:
>      Uses the Sass engine to parse the specified template
>      and outputs the result to the specified file.
>
>    Options:
>            --rails RAILS_DIR            Install Haml and Sass from the
>            Gem to a Rails project
>        -c, --check                      Just check syntax, don't
>        evaluate.
>        -s, --stdin                      Read input from standard input
>        instead of an input file
>            --trace                      Show a full traceback on error
>            --scss                       Use the CSS-superset SCSS syntax.
>            --watch                      Watch files or directories for
> changes.
>                                         The location of the generated CSS
>                                         can be set using a colon:
>                                           sass --watch
>                                           input.sass:output.css
>                                           sass --watch
>                                           input-dir:output-dir
>
> Are we doing anything wrong here? Both reports ocurred with HAML/SASS
> version 3.0.9.
>
> Greetings,
>
> --
> Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to