[DRE-maint] Bug#586613: libhaml-ruby: sass --watch gives NoMethodError

brian m. carlson sandals at crustytoothpaste.net
Mon Jun 21 01:01:04 UTC 2010


Package: libhaml-ruby1.8
Version: 3.0.9-1
Severity: normal
File: /usr/bin/sass

Invoking sass normally works okay:

  lakeview ok % sass default.scss default.css

But when using --watch, a NoMethodError occurs:

	lakeview ok % sass --trace --watch default.scss:default.css
	>>> Sass is watching for changes. Press Ctrl-C to stop.
	  overwrite default.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

Obviously, it would be nice if it didn't do that and instead worked
correctly.  I don't think it makes any difference, but I've included the
.scss file I've been working on in case it helps you trigger the bug
better.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libhaml-ruby1.8 depends on:
ii  ruby1.8                      1.8.7.249-3 Interpreter of object-oriented scr

libhaml-ruby1.8 recommends no packages.

Versions of packages libhaml-ruby1.8 suggests:
pn  libhpricot-ruby1.8            <none>     (no description available)
pn  rails                         <none>     (no description available)

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
$logo-width: 100px;
$logo-height: 120px;
$color-bg: #aaaaaa;
$color-fg: black;
// This is the color of the two blue filled areas; that is, the chips.
$color-chips: #3a6ca6;
// Most of the main strokes in the logo are this color.
$color-stroke: #aeaeb5;
$color-border: black;
$frame-width: 600px;

@mixin colors($bg: $color-bg, $fg: $color-fg) {
	background-color: $bg;
	color: $fg;
}
@mixin std-padding {
	padding-left: 1%;
	padding-right: 1%;
}

body {
	font-family: sans-serif;
	margin: 0;
	@include colors;
}

#header {
	@include colors;
	padding: 0.5em;
	border-bottom: black 1px solid;

	img {
		display: inline;
		float: left;
	}

	.title {
		text-align: center;
		margin: 0;
	}
}

#main {
	@include std-padding;
	@include colors(white, black);
	p:first-of-type {
		margin-top: 0;
	}
	p:last-of-type {
		margin-bottom: 0;
	}
}

#footer {
	hr {
		display: none;
	}
	@include std-padding;
	border-top: black 1px solid;
	margin: 0;
	font-size: 8pt;
}

/* vim: set ft=css: */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20100621/aaebc40b/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list