librelist archives

« back to archive

Configuring FireSass add-on for Firefox

Configuring FireSass add-on for Firefox

From:
Jake Subs
Date:
2012-05-08 @ 08:42
There's a handy looking addon called FireSass for the Firebug addon for
Firefox, which enables you to view the source for a Sass file rather than
the compiled CSS. You have to enable Sass debugging, and follwing the
instructions, I've added the line:
    Sass::Plugin.options[:debug_info] = true

to config.ru

However, I get the error message:
> Boot Error
> Something went wrong while loading config.ru
> NameError: uninitialized constant Sass::Plugin

The site lives at https://github.com/growdigital/jrayson

Obviously something obvious but could someone enlighten me?

Many thanks, Jake


-- 
[~] Jake Rayson
[w] www.jrayson.co.uk
[e] subs@growdigital.org
[t] @growdigital

Re: [nesta] Configuring FireSass add-on for Firefox

From:
Graham Ashton
Date:
2012-05-08 @ 09:47
On 8 May 2012, at 09:42, Jake Subs wrote:

> > NameError: uninitialized constant Sass::Plugin
> 
> Obviously something obvious but could someone enlighten me?

Try adding "require 'sass/plugin'" above the Sass::Plugin line.

(that's a guess)

Re: [nesta] Configuring FireSass add-on for Firefox

From:
Jake Subs
Date:
2012-05-08 @ 15:25
On 8 May 2012 10:47, Graham Ashton <graham@effectif.com> wrote:
> On 8 May 2012, at 09:42, Jake Subs wrote:
>> > NameError: uninitialized constant Sass::Plugin

> Try adding "require 'sass/plugin'" above the Sass::Plugin line.
> (that's a guess)

The guess was good. Now the addon appears to be too old for the
version of firebug!! Will try the github repo.

thanks, Jake

-- 
[~] Jake Rayson
[w] www.jrayson.co.uk
[e] subs@growdigital.org
[t] @growdigital